Perl Problem

Rick Measham rickm at printaform.com.au
Mon Sep 8 21:19:19 CDT 2003


At 12:11 PM +1000 9/9/03, Brad Bowman wrote:
>  > Why does my app hang and then exactly 5 minutes later fill my apache
>>  error_log with 120 lines of:
>>
>>  [Tue Sep 09 11:13:05 2003] [error] [client 10.0.0.181] Use of
>>  uninitialized value in join or string at ./modules/Location.pm line
>>  342.
>
>Are the next two lines:
>  sleep(5*60);
>  warn "Use of uninitialized ..." for (1..120);
>by any chance?

ROFL! Nah, seems to be a problem with warn and my perl. I've noticed 
before that  I hang if I warn too much. I've done the naughty thing 
and set $^W to 0 for the foreach block. Figured there shouldn't be 
any harm done there :)

Cheers and thanks all!
Rick Measham



More information about the Melbourne-pm mailing list