Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: passing subroutine args as a hash: why not?

by msemtd (Scribe)
on Jun 06, 2003 at 08:22 UTC ( [id://263619]=note: print w/replies, xml ) Need Help??


in reply to passing subroutine args as a hash: why not?

I'm wondering why more people don't call subroutines with a single hash as the argument.

I guess more people don't do it because they don't usually have so many arguments to pass!

In the world of Perl/Tk its pretty standard to pass a hash of args since there's so many that are optional, inherited, etc.

  • Comment on Re: passing subroutine args as a hash: why not?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found