Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: passing subroutine arguments directly into a hash

by kiseok7 (Beadle)
on Oct 20, 2001 at 05:00 UTC ( [id://120187]=note: print w/replies, xml ) Need Help??


in reply to passing subroutine arguments directly into a hash

how about this way? f(h=>1, s=>2, d=>3); sub f { my %hash = @_; }
  • Comment on Re: passing subroutine arguments directly into a hash

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found