I've never liked mixing my and modifiers before, and reading this thread has taught me why. I like to always give explicit initializations, so I end up writing that like
my %x = (@_ and ref($_[0]) eq 'HASH') ? %{ $_[0] } : ();
- doug
In reply to Re: Should "use strict" complain if I use a variable that is not declared?
by doug
in thread Should "use strict" complain if I use a variable that is not declared?
by earthman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |