Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: assigning arrays as values to keys of hash

by jwkrahn (Monsignor)
on Sep 18, 2018 at 05:23 UTC ( #1222557=note: print w/replies, xml ) Need Help??


in reply to Re^2: assigning arrays as values to keys of hash
in thread assigning arrays as values to keys of hash

my %unique; while ( <FILE> ) { my ( $key, $value ) = split; $hash{ $key }{ $value } = (); } $_ = [ keys %$_ ] for values %hash; print Dumper \%hash;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2019-07-18 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?