[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Problems finding



Title: Problems finding

I'm writing a small script to do an email-merge using the SMTP module
to send the mail. (No, I am NOT doing spam mail but corresponding with
people on my Creativity Web who have registered as a creativity consultant).

When I run this code (from MPPE book), I get a message saying that
the Net::/SMTP or Net/SMTP module is not found.

#!perl
use strict;
use Net::SMTP;
use Mac::InternetConfig;
my($smtp, $email, @emails, $subject, $message);
$smtp= Net::SMTP->new();

<snip>
 
Rechecking MPPE, mention is made of "libnet" being PART OF THE STANDARD
DISTRIBUTION. I have a 68040 Mac with System 7.1 and I installed the basic
Perl + the bigapp Perl, so what have I done wrong?


From MPPE:
 
" libnetis the common name for a group of Perl modules that support Internet
networking. It includes modules for FTP (file transfer), POP3 (receiving
email), SMTP (sending email), NNTP (accessing USENET news), etc. These
modules are included with the MacPerl standard distribution. For informa-
tion on updates, see the MacPerl Pages ( www.ptf.com/macperl)."

I looked at www.ptf.com/macperl but didnt see a referenec to libperl.


What should I do next?

Thanks,
Charles Cave
charles@mpx.com.au