APM: Null fields and 100% porcessor

Wayne Walker wwalker at broadq.com
Tue Apr 1 16:24:51 CST 2003


On Tue, Apr 01, 2003 at 04:12:35PM -0600, Jim Leonard wrote:
> The warnings sound like they are coming from perl using the "-w" option
> when you are doing the fetchrow. If everything is working well and the
> only problem is the warning for an unitialized variable ( the 'chatty'
> side of -w ) then by all means turn off -w. You can turn it back on when
> you are back editing or testing.
> 
> Jim

OR, in your personal user account set:

PERL5OPT='-w'
export PERL5OPT

or (for *csh users)

setenv PERL5OPT '-w'

Now when you run any program (theoretically for debug or development)
warnings will be on.  When it runs from cron or a webserver, PERL5OPT
won't be set to -w so warnings will be off.

YMMV,
    Wayne



More information about the Austin mailing list