Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Athanasius (Monsignor)
on Mar 31, 2013 at 07:16 UTC ( #1026340=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
        print "$_\n" for @y;
        print "\n";
    }
    
  2. or download this
    my  @args = (2, 3, 5, 7);
    foo(@args);
    
  3. or download this
    bar(@args);
    
  4. or download this
    bar($args[0], $args[1], $args[2], $args[3]);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-07-29 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls