hmmm... prefork.pm was created for this sort of problem, when some form
of run-time loader is being silly, and everything should really just be
loaded in at compile-time.
I wonder if it's time to investigating adding autoloader support to
prefork.pm some how.
For anyone else that has issues at times with making sure things are
loading modules properly before the child processes fork off, I'd also
recommend taking a look at prefork.pm
Ian McDonald-ONLINE wrote:
>>From: Perrin Harkins [mailto:perrin@...]
>>Sent: 17 January 2005 20:31
>>To: Ian McDonald-ONLINE
>>Subject: RE: [mp1] Problem with loading Time::Piece at startup
>>What happens if you remove the () after "use Time::Piece" in
> 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 and why it was crashing.
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
> 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.