Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Hash of arrays

by heezy (Monk)
on Oct 27, 2002 at 18:20 UTC ( #208358=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $line (readline FNAME){
        @data = split /\t/, $line;
    ...
        $id_veritasHash{$count} = \@data;
        $count ++;
    }
    
  2. or download this
        while ( ($key, @value) = each %id_veritasHash){
            foreach $temp (@value){
                print "$key, $temp\n";
            }
        }
    
  3. or download this
    13, ARRAY(0x121654)
    7, ARRAY(0x121654)
    5, ARRAY(0x121654)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-02-08 04:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?