in reply to Re: Hash Question
in thread Hash Question
%acct="";
Initializing a hash (and a non-lexical one for good measure) with a key of an empty string with the default value of undef produces a warning if warnings are enabled, as they almost always should be – along with strictures.
use warnings; use strict;
|
|---|