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

Re: Re: The Cost of Nested Referencing

by lestrrat (Deacon)
on Nov 15, 2002 at 19:21 UTC ( [id://213240]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my %hash = ( ..... );
       foreach my $key1 (@keyset1) {
    ...
              print $inner->{$key2};
          }
       }
    
  2. or download this
       my %hash = ( ..... );
       foreach my $key1 (@keyset1) {
    ...
              print $hash{$key1}{$key2};
          }
       }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found