Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: passing subroutine arguments directly into a hashby wog (Curate) |
on Oct 20, 2001 at 04:29 UTC ( [id://120184]=note: print w/replies, xml ) | Need Help?? |
One way of doing this assignment would be to use
a hash slice on the left hand side of an assignment
from @_:
(That hash slice is equivlent to ($hash{h}, $hash{s}, $hash{d}).)
In Section
Seekers of Perl Wisdom
|
|