Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Mail with attachments, but w/o writing out a file first

by runrig (Abbot)
on Sep 20, 2001 at 00:10 UTC ( [id://113464]=note: print w/replies, xml ) Need Help??


in reply to Mail with attachments, but w/o writing out a file first

Write the report to a scalar (or an array of scalars) and use 'Data' instead of 'Path' (see the MIME::Lite docs).
Or use 'FH' instead of 'Path' if that's more appropriate (if your report generator can produce a filehandle to read from, say, by forking and using pipe to write/read the report).
  • Comment on Re: Mail with attachments, but w/o writing out a file first

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-16 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found