Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: RE: MIME Attachment Extractor

by Punto (Scribe)
on Jun 01, 2000 at 22:09 UTC ( #15872=note: print w/replies, xml ) Need Help??


in reply to RE: MIME Attachment Extractor
in thread MIME Attachment Extractor

I got it! :)
Instead of using:
$content .= $body->as_string if defined $body;
I do:
if (defined $body) { $content .= $body->as_string; $filename = $body->path; unlink($filename); };
and it works fine.. Thanks..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-10-01 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?