Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Hash and count of data values

by Anonymous Monk
on Aug 18, 2003 at 13:37 UTC ( #284566=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    123  56
    123  56
    ...
    123  56
    678  93
    678  93
    
  2. or download this
    
    234  45    1
    123  56    3
    678  93    2
    
  3. or download this
    my $file = 'filehere.txt';
    open(DATA, "$file") || die "Can not open: $!\n";
    ...
    print "$item\t$hash{$item}\n";
    
    close(DATA);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-11-30 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?