Leser: 16
1 2 3 4 5
sub mail() { my $mailer = Mail::Mailer->new('smtp', Server => $server); $mailer->open(\%headers) or die "Can't open Mailheaders: $!\n"; print "$mailer \n\n @check\n"; $mailer->close();
1
2
3
4
5
6
7
8
9
10
11
[Tue Jul 20 15:07:43 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34.
[Tue Jul 20 15:07:43 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34.
[Tue Jul 20 15:07:43 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34.
[Tue Jul 20 15:07:43 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34.
[Tue Jul 20 15:07:43 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34.
[Tue Jul 20 15:07:50 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34, <STDIN> line 1., referer: http://localhost/cgi-bin/test.pl?formtype=newnametpl
[Tue Jul 20 15:07:50 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34, <STDIN> line 1., referer: http://localhost/cgi-bin/test.pl?formtype=newnametpl
[Tue Jul 20 15:07:50 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34, <STDIN> line 1., referer: http://localhost/cgi-bin/test.pl?formtype=newnametpl
[Tue Jul 20 15:07:50 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34, <STDIN> line 1., referer: http://localhost/cgi-bin/test.pl?formtype=newnametpl
[Tue Jul 20 15:07:50 2010] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /var/www/localhost/cgi-bin/test.pl line 34, <STDIN> line 1., referer: http://localhost/cgi-bin/test.pl?formtype=newnametpl
if ($query->url_param("formtype") =~ /newnametpl/)
2010-07-20T13:13:51 conrayMein Code zum Mail-Modul ansprechen
Code (perl): (dl )print "$mailer \n\n @check\n";
[...]
Habe nochmal geprüft ob alle Variables richtig deklariert sind un konnte keinen fehler enddecken.
print $mailer $body;
print "$mailer \n\n @check\n";