in reply to Re: Hash Syntax Question
in thread Hash Syntax Question
also be aware of the following little gotcha:
perl -wMstrict -e "my %h; $h{shift} = 'foo'; print %h" bar shiftfoo perl -wMstrict -e "my %h; $h{shift()} = 'foo'; print %h" bar barfoo
|
---|
In Section
Seekers of Perl Wisdom