Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 about the Monastery: (8)
As of 2015-07-29 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls