Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: passing subroutine arguments directly into a hash

by kjherron (Pilgrim)
on Oct 20, 2001 at 08:18 UTC ( [id://120209]=note: print w/replies, xml ) Need Help??


in reply to passing subroutine arguments directly into a hash

Well, there's always the obvious:
my %args = ( h => $_[0], s => $_[1], d => $_[2] );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://120209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found