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

Tie a hash of hashes?

by Anonymous Monk
on Feb 02, 2006 at 20:14 UTC ( #527418=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    use Tie::IxHash;
    ...
      $data{SomeMoreStuff}{SomeMoreData} = 'x';
    
      print Dumper \%data;
    
  2. or download this
    %data = (
    SomeStuff => {
    ...
      OtherData => 'd'
    }
    );
    
  3. or download this
    $VAR1 = {
              'SomeStuff' => {
    ...
                                   'SomeData' => 'a'
                                 }
            };
    
  4. or download this
    $VAR1 = {
              'SomeStuff' => {
    ...
                                   'OtherData' => 'd',
                                 }
            };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-04-21 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls