Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: passing array references

by Prior Nacre V (Hermit)
on Dec 05, 2004 at 05:55 UTC ( #412462=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [ ~/tmp ] $ cat return_multi_refs 
    # return_multi_refs
    ...
        )} keys(%{$_[0]});
        die $@ if $@;
    }
    
  2. or download this
    [ ~/tmp ] $ perl return_multi_refs 
    scalar1 [Scalar the First]
    ...
    array1[1]  [b]
    array2[2]  [z]
    [ ~/tmp ] $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-06-27 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (88 votes). Check out past polls.

    Notices?