Subject: | LAST command not recognized |
A call to last() generates a LAST command to the POP server. As LAST is not a recognized command, the resulting error is not handled properly.
Use of uninitialized value in numeric eq (==) at /usr/local/share/perl5/Net/POP3.pm line 3
at /usr/local/share/perl5/Net/POP3.pm line 373.
Net::POP3::_PASS(Net::POP3=GLOB(0x3488f80), "xxx") called at /usr/local/share/perl5/Ne
Net::POP3::pass(Net::POP3=GLOB(0x3488f80), "xxx") called at /usr/local/share/perl5/Net
Net::POP3::login(Net::POP3=GLOB(0x3488f80), "yyy", "xxx") called at MailSorter.pl line
main::login_pop(Net::POP3=GLOB(0x3488f80), "yyy", "xxx") called at MailSorter.pl line
Use of uninitialized value in numeric eq (==) at /usr/local/share/perl5/Net/POP3.pm line 3
at /usr/local/share/perl5/Net/POP3.pm line 369.
Net::POP3::_QUIT(Net::POP3=GLOB(0x3488f80)) called at /usr/local/share/perl5/Net/POP3.
Net::POP3::quit(Net::POP3=GLOB(0x3488f80)) called at MailSorter.pl line 576
main::login_pop(Net::POP3=GLOB(0x3488f80), "yyy", "xxx") called at MailSorter.pl line
An error message from last() would be appreciated.