Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to pass multidimensional hashed arrays as reference to a subroutine?

by themage (Friar)
on Sep 01, 2008 at 09:31 UTC ( [id://708154]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mysub(\@arrofhash);
    
    ...
      $aof[0]->{somekey}++;
      ...
    }
    
  2. or download this
    mysub(@arrofhash);
    sub mysub {
    ...
      $aof[0]->{somekey}++;
      ...
    }
    
  3. or download this
    mysub(%hash);
    sub mysub {
    ...
      print $args{somekey},"\n";
      ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found