Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: arrays or hashes

by mfriedman (Monk)
on Aug 27, 2002 at 17:17 UTC ( #193214=note: print w/replies, xml ) Need Help??


in reply to Re: Re: arrays or hashes
in thread arrays or hashes

I would do something like this:

my %data; while (<FILE>) { my ($name, $val) = split /\s+/; push @{ $data{$name} }, $val; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2021-06-25 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (135 votes). Check out past polls.

    Notices?