Run the following at your shell prompt:
perl -MNet::SMTP -e 0
If that doesn't produce any errors, it's installed correctly.
If it does gripe, it didn't. If it is installed correctly,
make sure you've got use Net::SMTP (); near
the top of your program.
| [reply] [d/l] [select] |
Hi,
I don't see why use Net::SMTP; needs the (). This is not mentioned in the pod of Net::SMTP (version 2.5).
Since make test was ran successfull, you package
is installed OK. But, I cannot make out what you actually installed. Net::SMTP cannot be installed seperately, you need libnet-1.09.
Can you please check that your PERLLIB is set correctly, and post some code you have tried?
Have a look at the file PERLLIB/site/lib/Net/SMTP.pm , and check if it is complete.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
| [reply] [d/l] |
hmmm, i think your problem is described here. Can't locate method "new" usually means the <code lang="perl">use Net::SMTP</code> is missing. I have done this more times than i would like to admit.
i had a memory leak once, and it ruined my favorite shirt. | [reply] |