Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Counting In a Log File from Multiple Variables

by Rhose (Priest)
on Sep 02, 2004 at 19:48 UTC ( #388071=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<FILE>)
    {
    #  chomp;
    ...
      $Data->{$_[1]}->{$_[3]}++;
      }
    }
    
  2. or download this
    while(<FILE>)
    {
      chomp;
      @_=split(',');
      $Data->{$_[1]}->{$_[3]}++;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2016-02-14 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls