http://qs1969.pair.com?node_id=628789


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