Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[Cow1337killr]: <p>stevieb, you should leave an insightful comment at https://plugins. jetbrains.com/ idea/plugin/7796- perl</p>
[Cow1337killr]: (Oops. HTML paragraph markup not needed.)
[stevieb]: Cow1337killr yeah, you're probably right. I have communicated to the author directly, and here on his threads. It's a tremenous setup. With Devel::Camelcadedb , you get full perl debug support too

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-02-20 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.