Thanks for answering, Perrin. 

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 has all the functions in it). It cannot find the
<function>.al file because it does not exist. 

In fact, test.pl works fine if startup.pl does not 'use Time::Piece' at
all. But I don't want to do that, because I want to pre-load it (and the
rest of my application modules).

> -----Original Message-----
> From: Perrin Harkins [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 +0000, Ian McDonald-ONLINE wrote:
> > The use of any Time::Piece function or method falls back to 
> > AutoLoader, which tries to load the <function>.al file. The 
> > interpreter cannot find the <function>.al file, and issues a fatal 
> > error.
> 
> This probably means you have a permissions problem on those 
> files or a directory that contains them.  Try to read them as 
> user "nobody" or whoever you run your server as.
> 
> You may also want to try pre-loading all of it, to increase 
> your shared memory.
> 
> - Perrin

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.

Reply via email to