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

Re^2: Checking number of values returned

by LanX (Saint)
on Feb 08, 2015 at 18:44 UTC ( [id://1115947]=note: print w/replies, xml ) Need Help??


in reply to Re: Checking number of values returned
in thread Checking number of values returned

> then perhaps you could look into returning complex data structures instead, like arrayrefs, hashrefs, or objects?

And perhaps if many redundant hashes are passed around, a redesign to OOP is reasonable, where the subs become the methods of the object's data.

edit

IOW instead of passing data one is chaining methods.

Cheers Rolf

PS: Je suis Charlie!

Log In?
Username:
Password:

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

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

    No recent polls found