Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Hashes hunt me even when I sleep....

by le (Friar)
on Oct 05, 2000 at 19:55 UTC ( [id://35468]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Hashes hunt me even when I sleep....

my %songs; while (<DATA>) { my ($myArtist, $myAlbum, $mySong, $myLocation) = split /\|/; $songs{$myArtist}->{$myAlbum}->{$mySong} = $myLocation; } foreach my $myArtist (sort keys %songs) { print "$myArtist:\n"; foreach my $myAlbum (sort keys %{ $songs{$myArtist} }) { print "\t$myAlbum\n"; print "\t\tSongs:\n"; foreach my $mySong (sort keys %{ $songs{$myArtist}->{$myAlbum} + }) { print "\t\t\t$mySong: $songs{$myArtist}->{$myAlbum}->{$myS +ong}\n"; } } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://35468]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.