Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Can't locate objet method "new" via package "Mail::SendMail"

by poj (Parson)
on Jul 26, 2013 at 19:45 UTC ( #1046598=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can't locate objet method "new" via package "Mail::SendMail"
in thread Can't locate objet method "new" via package "Mail::SendMail"

The code you posted looks like it is for a module called SendMail.pm. from here http://www.tneoh.zoneit.com/perl/SendMail/ whereas the module you have installed is Mail::Sendmail. You need to rewrite your code to be like the example in Mail::Sendmail .
poj

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046598]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-12-03 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.