Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^8: How to return values from a hash?

by perl-diddler (Hermit)
on Apr 21, 2013 at 10:26 UTC ( #1029743=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        ## "Devel" - extra checking code
        local 
    ...
    
        if (($mp->{optimize} and $exec||=$exec++) || 
                                              param_checks() == subsequent
    +_call) {
    
  2. or download this
    sub bar($) {...}
     # and the calling routines would use either...
    [1,2,3,4]
     # or
    {p1=>1, p2=>2...}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029743]
help
Chatterbox?
erix counts their toes
[erix]: DBD::Pg 3.6.1 test has 'die;' then dies and fails wtf... (just below connect_database()
[erix]: I'm wondering what the idea could have been...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-05-23 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?