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
In reply to Re: What is wrong with variable?
by rafl
in thread What is wrong with variable?
by w3b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |