in reply to Re (tilly) 1: Declaring and initializing a hash with a list of keys and a list of values
in thread Declaring and initializing a hash with a list of keys and a list of values
And these 'subtle scoping issues' render the output of Deparse incorrect:
$ perl -MO=Deparse -e '@$_{1,2,3}=(4,5,6) for \my %hash;print keys %ha +sh' foreach $_ (\my(%hash)) { @$_{1, 2, 3} = (4, 5, 6); } print keys %hash; -e syntax OK
Thus, people who try to understand it via the Deparsed version may be somewhat disappointed.
|
|---|