Re: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Adam Kennedy
n McDonald-ONLINE Cc: modperl@perl.apache.org Subject: RE: [mp1] Problem with loading Time::Piece at startup What happens if you remove the () after "use Time::Piece" in your script? It crashes with the same "can't locate" error on "use Time::Piece", instead

RE: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Perrin Harkins
On Mon, 2005-01-17 at 20:39 +, Ian McDonald-ONLINE wrote: > > What happens if you remove the () after "use Time::Piece" in > > your script? > > It crashes with the same "can't locate" error on "use Time::Piece", > instead of on "Time::Piece->import". I separated them out to clarify > when a

RE: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Ian McDonald-ONLINE
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: 17 January 2005 20:31 > To: Ian McDonald-ONLINE > Cc: modperl@perl.apache.org > Subject: RE: [mp1] Problem with loading Time::Piece at startup > > > What happens if you remove th

RE: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Perrin Harkins
On Mon, 2005-01-17 at 19:12 +, Ian McDonald-ONLINE wrote: > To be clear, I am not splitting the modules. My intention is to pre-load > all of them; the module has not been split into *.al files, and when I > trussed the Apache process, the startup.pl script was reading > Time/Piece.pm (which ha

RE: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Ian McDonald-ONLINE
arkins [mailto:[EMAIL PROTECTED] > Sent: 17 January 2005 19:02 > To: Ian McDonald-ONLINE > Cc: modperl@perl.apache.org > Subject: Re: [mp1] Problem with loading Time::Piece at startup > > > On Mon, 2005-01-17 at 11:52 +, Ian McDonald-ONLINE wrote: > > The use of

Re: [mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Perrin Harkins
On Mon, 2005-01-17 at 11:52 +, Ian McDonald-ONLINE wrote: > The use of any Time::Piece function or method falls back to AutoLoader, > which tries to load the .al file. > The interpreter cannot find the .al file, and issues a fatal > error. This probably means you have a permissions problem on

[mp1] Problem with loading Time::Piece at startup

2005-01-17 Thread Ian McDonald-ONLINE
Hi, I have a problem using Time::Piece with mod_perl. If Time::Piece is loaded on startup, either by startup.pl, in PerlModule, or by being used in another module. It appears in %INC. In a cgi-perl script running under Apache::Registry: 'use Time::Piece' does not cause the file to be re-read. %T