Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: passing subroutine arguments directly into a hash

by kjherron (Pilgrim)
on Oct 20, 2001 at 08:18 UTC ( #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
Node Status?
node history
Node Type: note [id://120209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-05-06 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (81 votes). Check out past polls.

    Notices?