Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: how to use Net::POP3::SSLWrapper

by planetscape (Chancellor)
on Jan 21, 2012 at 10:49 UTC ( #949148=note: print w/replies, xml ) Need Help??


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

"Fails", how? What is the error?

Do you need a sub before pop3s? Some spaces between my and $SomeVariableName (several instances)?

HTH,

planetscape

Replies are listed 'Best First'.
Re^2: how to use Net::POP3::SSLWrapper
by swilting (Beadle) on Jan 21, 2012 at 17:54 UTC

    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...

      Examining the first waarning message and the following output indicates that $last is undef which implies that my $last = $pop->last; failed. The following warnings pertaining to badness inside POP3.pm is pretty much consistent with $pop already being in a bad state.

      What did the code look before you changed it?

      True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949148]
help
Chatterbox?
[holli]: yeah, then vroom will personally stab me in the back at night
[holli]: exactly, moritz
[moritz]: with a big table of redirects to support the old links
[LanX]: do it
[holli]: well if you put some cleverness into the migration you can auto convert most of the links as well
[LanX]: Let's Make PerlMonks Great Again!
[holli]: but you know what? i don't think i'd fancy that. I like PM as it is.
[holli]: Alone the chatterbox and everybody writes his own cb client tradition
[LanX]: there was a guy who tried to steal the concept and build an own monastery ...
[LanX]: yeah PM is very emacsy ;-)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-11-20 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?