Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^9: Perl MIME

by Tux (Canon)
on Mar 22, 2012 at 15:53 UTC ( [id://961048]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Perl MIME
in thread Perl MIME - Open file

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://961048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found