Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
Domain Nodelet?
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 chilling in the Monastery: (6)
As of 2023-05-30 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?