http://www.perlmonks.org?node_id=949172


in reply to Re: how to use Net::POP3::SSLWrapper
in thread how to use Net::POP3::SSLWrapper

the script fail during the prime parcourt of the loop I made ​​some minor changes to the code

print "connecting to $server..\n"; my $pop = Net::POP3->new($server, Port => 995) or die "error: can't connect to $server: $!\n"; print "ok\n";

this is my error to stderr

localhost ~]$ perl deletemailpop3s.pl connecting to pop.wanadoo.fr.. ok Use of uninitialized value in concatenation (.) or string at deletemai +lpop3s.pl line 28. mail box size: 12914033 313 unread mail(s). last read mail was number Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/5.8.8/ +Net/POP3.pm line 311. Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/5.8.8/ +Net/POP3.pm line 311. ...etc...