Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

using 'keys' recursively on a hash of hashes

by gnu@perl (Pilgrim)
on Aug 21, 2002 at 13:33 UTC ( #191727=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my %switch_hash = (
               chrdex   => {
    ...
        );
    
    $rhent = \%switch_hash;
    
  2. or download this
    my @dates = ( keys %{(keys %{(keys %$rhent)})} );
    
  3. or download this
    Can't use string ("3") as a HASH ref while "strict refs" in use at ./x
    +cl3.pl line 301
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-12-04 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?