English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

Perl does not require you to initialize or predeclare variables. In most cases, experienced Perl programmers will use the 'strict' pragma which forces declaring variables, usually using the 'my' keyword. So, to declare and initialize a variable:
my $var = 1;
With TripodMail.pm, I assume that you want to instantiate an object?
In this case:
my $mailer = new TripodMail;
Then you use your TripodMail object to access the member functions, something like this:
$mailer->sendmail(args);

2006-07-29 03:27:38 · answer #1 · answered by sterno73 3 · 0 0

fedest.com, questions and answers