in reply to Sending email from a file.
open HOMEWORK, "<syllabus.txt" or die "Blerch: $!\n"; local $/=undef; $message=<HOMEWORK>; # Send it on as you did above. [download]
CURobartes-
Update: fixed age-old gotcha of forgetting comma in open.