Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Best Data Structure for passing in multiple arguments to a sub-routine

by imp (Priest)
on Mar 13, 2007 at 15:44 UTC ( #604583=note: print w/replies, xml ) Need Help??


in reply to Best Data Structure for passing in multiple arguments to a sub-routine

I would go with the hash of hashes usually, or objects that encapsulates the different bits if it is complicated.
  • Comment on Re: Best Data Structure for passing in multiple arguments to a sub-routine

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://604583]
help
Chatterbox?
[stevieb]: I very often write a base set of unit tests before writing any code. It helps dictate the API, and ensures my earliest of ideas stay on track.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-07-21 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (335 votes). Check out past polls.