in reply to Should "use strict" complain if I use a variable that is not declared?
my %self = %{$_[0]} if ref $_[0];
has been deprecated and never really did what you think. See the end of Statement Modifiers in perlsyn about the behaviour or the lack of definedness.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Should "use strict" complain if I use a variable that is not declared?
by ikegami (Patriarch) on Jun 28, 2010 at 17:27 UTC | |
|
Re^2: Should "use strict" complain if I use a variable that is not declared?
by earthman (Initiate) on Jun 28, 2010 at 11:24 UTC |