Update: my %args = (ref($_=shift) eq 'HASH' or die "blah") && %$_ ;sub f { my %args = do { ref($_=shift) eq 'HASH' or die "arg is not a hashref +"; %$_ } ; ... }
In reply to Re: Better way to dereference a shifted hashref arg?
by davidrw
in thread Better way to dereference a shifted hashref arg?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |