|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: passing subroutine arguments directly into a hashby wog (Curate) |
| on Oct 20, 2001 at 00:29 UTC ( [id://120184]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||