laziness, impatience, and hubris | |
PerlMonks |
Re^9: Perl MIMEby Tux (Canon) |
on Mar 22, 2012 at 15:53 UTC ( [id://961048]=note: print w/replies, xml ) | Need Help?? |
You have never set anything to $data, so this will fail. If I read MIME::Parser, it stores the "part"s in the folder you tell it to store them, and the API does not mention how to check what parts are stored and how. Maybe you should use MIME::Tools instead, as its documentation suggests. For what you try to solve, this looks pretty promising. In the scheme you now present, you will have to opendir DIR, $output; and use readdir () to find out what files were written and then open the required file. As long as you do not have a pointer to a valid CSV stream, I think my help is rather dim. Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|