|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Extracting Attachments Using MIME::Parseby samarzone (Pilgrim) |
| on Dec 10, 2010 at 08:22 UTC ( #876398=note: print w/ replies, xml ) | Need Help?? |
|
If $path is the physical path of the file you can use open and related functions to read the file. Also note that you have strictly told compiler not to accept any arguments in subroutine handle_other by giving blank parens. Your call handle_other($entity->bodyhandle->path) will fail. To accept variable number of arguments you should remove the parens.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||