Welcome to the Monastery | |
PerlMonks |
Re: Mail::Message Problemby f00li5h (Chaplain) |
on Nov 05, 2008 at 00:40 UTC ( [id://721539]=note: print w/replies, xml ) | Need Help?? |
Mail::Message wants Mail::Message->read(FILEHANDLE|SCALAR|REF-SCALAR|ARRAY-OF-LINES, OPTIONS) you are giving it a list of lines read from the file... since you've got a readline in list context ... try ->read(\*STDIN) or ->read([<STDIN>]) @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
In Section
Seekers of Perl Wisdom
|
|