in reply to What is wrong with variable?
Apparently one of the variables ($last or $now) is undefined.
I think the reason for that is, that
$pop->login(..);
may return undef to indicate that the login attempt failed. You check it in line 9, where you log in the first time, but you don't do that for any later calls of the login method.
Cheers, Flo
|
|---|