Core::time() error

When installing RT 2-0-14, on a RH 7.3 system, every thing went fine.
During the HTML::Mason install I received the following error.

Ambiguous call resolved as CORE::time(), qualify as such or use & at
/usr/lib/perl5/site_perl/5.6.1/Exception/Class.pm line 226.

upon forcing Mason to install, everything worked fine. However when
I start up Apache, it still reports that error before Apache loads.

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.

Any clues?

Adrian McCray

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.

When installing RT 2-0-14, on a RH 7.3 system, every thing went fine.
During the HTML::Mason install I received the following error.

Ambiguous call resolved as CORE::time(), qualify as such or use & at
/usr/lib/perl5/site_perl/5.6.1/Exception/Class.pm line 226.

This is just a bug in Exception::Class 1.02. I just uploaded a new
version (1.04) a minute ago which fixes this.

Or you can just downgrade to 1.01.

-dave

/==================
www.urth.org
we await the New Sun
==================
/