RIVERHEAD - The 22-year-old man accused of robbing a pharmacy in Farmingville last month appeared before a judge in Riverhead today.

According to prosecutors, Patrick O'Donnell walked into the town's CVS and ordered an employee to give him oxycodone and morphine. They say he handed the pharmacist a note that read, "You have 30 seconds or someone will get hurt."

O'Donnell was arrested after surveillance video of the heist was released and public tips helped police identify him.

O'Donnell's attorney, Ralph Miglore, admits the references to the Medford pharmacy massacre may make his client's case harder. Miglore also says that O'Donnell is a recovering heroin addict who has been addicted to painkillers ever since he suffered a wrestling injury while attending Sachem High School.

Bail was set at $200,000 after a request by O'Donnell's attorney for a reduced bail of $100,000 was denied.

Farmingville robbery suspect in courtCVS drug-store robbery suspect pleads not guilty