in reply to Localtime Updating

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

Replies are listed 'Best First'.
Re^2: Localtime Updating
by Anonymous Monk on Feb 24, 2006 at 15:25 UTC
    It is part of the code in the module like;
    our $localtime = localtime;

      But is that set each time you go round the loop?

      --
      <http://dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg