in reply to Re: Autovivification sucking the life out of me
in thread Autovivification sucking the life out of me
But I am not explicitly telling Perl to autovivify, rather I am (intending to) just reference the values, in this case using a slice.
Refer to my simpler example above. Using see_args( @foo{qw(BAR BAZ)} ); causes result:
But changing that to see_args( $foo{BAR}, $foo{BAZ} ); results in:at start: BAR '<absent>' at end: BAR '<undef>'
This is most perplexing to me.at start: BAR '<absent>' at end: BAR '<absent>'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Autovivification sucking the life out of me
by Skeeve (Parson) on Oct 14, 2005 at 08:17 UTC |
In Section
Seekers of Perl Wisdom