Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: mime::lite and attaching files

by igelkott (Priest)
on Apr 29, 2013 at 23:04 UTC ( #1031292=note: print w/replies, xml ) Need Help??

in reply to mime::lite and attaching files

Path => "/report.xls"

Is your file really in the root directory? Do you perhaps just mean Path => 'report.xls' ? If so, the "Filename" parameter is not needed.

Replies are listed 'Best First'.
Re^2: mime::lite and attaching files
by PerlSufi (Friar) on Apr 30, 2013 at 14:00 UTC
    actually I had the full path before, I just put that in there because I tried that, too. taking out the path also did not work. I'm stumped..
      I got it. I ended up using mime::entity instead..

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031292]
[Discipulus]: everything is .* in regexes: it has drawbacks (can be nul, is greedy..) so /hey.*,0$/ can be a solution
[Discipulus]: but pleas take a look here (page 97) and to standard documentation
[Discipulus]: perlre and perlreref

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-03-20 07:59 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (248 votes). Check out past polls.