It looks like you're using the value of a scalar variable called $localtime but you don't show where this variable it set. I suspect it's only set once rather than on each invocation of the subroutine
In reply to Re: Localtime Updating
by duff
in thread Localtime Updating
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |