Re: Reading from log

2003-12-06 Thread Rob Dixon
Danield wrote: > > I am looking for help with creating a digest of a log file. I have found > a nice tutorial that should help on > http://www.pageresource.com/cgirec/ptut14.htm. However, this tutorial > expects to have values in list separated by | : > > he Rock|Cheer|Rock Bottom > Triple H|Boo|

RE: Reading from log

2003-12-06 Thread Tom Kinzer
Typically I'm against just doing something for somebody, but you caught me at a good time. Here is an example to get you started: #!/usr/local/bin/perl -w use strict; my $input = shift; my $total; die "Usage: Arg1: Input File to Scan." unless $input; open IN, "< $input" or die "Unable to o