Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Populating and accessing complicate Hashes

by bobf (Monsignor)
on Apr 24, 2006 at 04:37 UTC ( [id://545205]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $href = $main_hash{$val}{$type}{$pegs};
    my $T1val = defined $href->{'Section1'}[0] ? $href->{'Section1'}[0] : 
    +undef;
    
  2. or download this
    $T1val = defined ${$main_hash{$val}{$type}{$pegs}{'Section1'}}[0] ? ${
    +$main_hash{$val}{$type}{$pegs}{'Section1'}}[0] : undef;
    
  3. or download this
    $T1val = ${$main_hash{$val}{$type}{$pegs}{'Section1'}}[0];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-19 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found