M
mani
Hi,
I read this sample code somewhere on the web and it is as follows:
$db="/www/emailadd.txt";
open (DB,"$db") || die "Can't Open mailadd: $!\n";
while (<DB>) {
chop;
&SendMail;
}
close DB;
I understand this code because i have been reading Learning Perl
written by Randal Schwartz & Tom C. I am assuming this Sendmail is a
subroutine
but arent su routines called as is like SendMail instead of the & in
the front... Or am i missing something here.... I have been reading
Perl 5.0
Please help me out
regards
Mani
I read this sample code somewhere on the web and it is as follows:
$db="/www/emailadd.txt";
open (DB,"$db") || die "Can't Open mailadd: $!\n";
while (<DB>) {
chop;
&SendMail;
}
close DB;
I understand this code because i have been reading Learning Perl
written by Randal Schwartz & Tom C. I am assuming this Sendmail is a
subroutine
but arent su routines called as is like SendMail instead of the & in
the front... Or am i missing something here.... I have been reading
Perl 5.0
Please help me out
regards
Mani