Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: unknown number of dimensions of a multidimensional hash

by duff (Parson)
on Mar 10, 2006 at 00:47 UTC ( [id://535574]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $data {$a}{$b}
    $data {$a}{$b}{$c}
    $data {$d}{$e}
    
  2. or download this
    $data{join "\0", $a, $b}
    $data{join "\0", $a, $b, $c}
    $data{join "\0", $d, $e}
    
  3. or download this
    for (keys %data) {
       # you could do something with $data{$_} directly,
    ...
       my @keys = split /\0/;
       # ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found