Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Building dynamic nested hash references

by ryan (Pilgrim)
on Jan 21, 2004 at 11:00 UTC ( [id://322837]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $VAR1 = {
      'misc' => {},
    ...
        }
      }
    };
    
  2. or download this
    # yes, I realise there is NO error checking :)
    # assume $tree contains data structure shown above
    ...
    
    # explicit reference
    print $tree->{docs}->{howtos}->{email}->{'index.html'}->{size};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-28 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found