Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by runrig (Abbot)
on Sep 20, 2001 at 00:10 UTC ( #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
Node Status?
node history
Node Type: note [id://113464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-05-13 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (134 votes). Check out past polls.

    Notices?