[rt-users] Core::time() error

darren chamberlain darren at boston.com
Thu Aug 22 10:15:17 EDT 2002


* Adrian McCray <admccray at thespring.org> [2002-08-22 10:09]:
> I have searched the masonHQ archives, deja, google, and RT with no
> success.  I looked at the class.pm file and this is the offending line
> 
> 	$self->{time} = time();
> 
> it seems like a somewhat benign message,  but nonethelsss, it still
> indicates something unexpected.

This should do it:

  $self->{'time'} = time();

Although I don't see this problem, at least with 5.00503, 5.6.1, and
5.8.0, under strict, with warnings on:

  # perl -MData::Dumper -Mstrict -Mwarnings
  $f->{ time } = time();       
  print Dumper($f)
  $VAR1 = {
            'time' => '1030025597'
          };

What's your environment like?

(darren)

-- 
OCCAM'S ERASER:
The philosophical principle that even the simplest solution is bound
to have something wrong with it.




More information about the rt-users mailing list