in reply to Re: Re: Unique items in a text file
in thread Unique items in a text file

Dunno, that's what I get:

DI: 3<br /> Not Found: 1<br /> FA: 2<br /> Login: 4<br /> DX: 1<br />

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus

Replies are listed 'Best First'.
Re: Re: Re: Re: Unique items in a text file
by Anonymous Monk on Apr 20, 2004 at 15:29 UTC
    How would I do this based on the datgiven?
      I meant DATE
Re: Re: Re: Re: Unique items in a text file
by Anonymous Monk on Apr 20, 2004 at 14:45 UTC
    I got the same here, how would you do if you had to add this numbers up instead of displaying them in order?

      change

      print $_ . ': ' . $erg{$_} . '<br />' . "\n" foreach (keys %erg);
      to
      my $erg = 0; $erg += $erg{$_} foreach (keys %erg); print $erg,"\n";

      regards,
      tomte


      An intellectual is someone whose mind watches itself.
      -- Albert Camus