in reply to Re^2: use of strict ....
in thread use of strict ....
$ERRORS{CRITICAL} $ERRORS{'CRITICAL'} $ERRORS{"CRITICAL"}
You can verify that behaviour like this:
Which outputs:use Data::Dumper; sub ERRORS { print "ERRORS called\n"; print Dumper(\@_); } $a = ERRORS{"CRITICAL"};
By the way - in the future instead of saying "strict will puke" it would be better to provide the error.ERRORS called $VAR1 = [ { 'CRITICAL' => undef } ];
|
|---|