atnonis has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use Net::POP3; my $pop = Net::POP3->new('localhost', Timeout => 30); my $user = 'root'; my $pass = 'something'; $pop->login ($user,$pass); $pop->top();
Can't call method "login" on an undefined value at ./pop3.pl line 7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use (of) Net::POP3
by Tomte (Priest) on Jun 21, 2003 at 11:27 UTC | |
by atnonis (Monk) on Jun 21, 2003 at 11:34 UTC | |
|
Re: use (of) Net::POP3
by vek (Prior) on Jun 21, 2003 at 15:58 UTC | |
|
Re: use (of) Net::POP3
by ScooterQ (Pilgrim) on Jun 21, 2003 at 12:17 UTC | |
|
Re: use (of) Net::POP3
by hydo (Monk) on Jun 21, 2003 at 11:35 UTC | |
|
Re: use (of) Net::POP3
by atnonis (Monk) on Jun 21, 2003 at 17:54 UTC | |
by Tomte (Priest) on Jun 21, 2003 at 21:40 UTC | |
by faerloche (Sexton) on Jun 22, 2003 at 00:21 UTC |