Lots of gratuitous errors in the log will cause people to ignore the log...So...
If you honestly expect a lot of blank fields, and the prospect of checking for defined-and-then-a-value makes you nauseous, just pre-cook them all with a defined value (like the empty string) before you use them:
for(keys %USER) { $USER{$_}="" unless defined $USER{$_}; }
In reply to Re: -w in production environment
by clintp
in thread -w in production environment
by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |