Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to flatten hashes?

by rev_1318 (Chaplain)
on Jul 14, 2005 at 08:09 UTC ( #474792=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %newhash = (
        accesslevels => {
    ...
            default => $oldhash{function}{default}{content}
        }
    );
    
  2. or download this
    my %newhash;
    foreach my $key1 (keys %oldhash) {
    ...
            }
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2023-06-05 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (25 votes). Check out past polls.

    Notices?