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

Hash and count of data values

by Anonymous Monk
on Aug 18, 2003 at 13:37 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-20 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found