http://qs321.pair.com?node_id=984370


in reply to Re: hash deref confusion: Intermediate Perl
in thread hash deref confusion: Intermediate Perl

I wouldn't really say it's a quirk. You're assigning a list of values to a list of hash slots, so the @ sigil is quite appropriate.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'