>
>
>
> But ... I have no idea on how to dealing with this
> even... so can't help.. sorry...
If the user has access to a relational db, why not load the file into that
(Oracle, Mysql) and then use perl DBI to deal with it and save alot of
headaches
--
To unsubscribe, e-mail: [EMAIL PROTEC
[]
[]
> or die "Couldn't open $log!";
> while ($line = ) {
> if ($line =~ /byte/i) { print $line }
> }
> close (FILE);
Hi all, for the above lines. I guess the OP gentleman
is not dealing with a 1GB log for what he asked.
He had writtern something for picking up those lines
Kevin Pfeiffer <[EMAIL PROTECTED]> writes:
> Robin Norwood writes:
> > Samuel Brown <[EMAIL PROTECTED]> writes:
> > > Hi ya,
> > >
> > > I'm teaching myself Perl and I have a log file around 1GB that I need
> > > to sort by month | date | time | byte size. So far I have parse the log
> > > for "b
Samuel Brown wrote at Sat, 10 Aug 2002 00:07:34 +0200:
> I'm teaching myself Perl and I have a log file around 1GB that I need to sort
> by month | date | time | byte size. So far I have parse the log for "bytes"
> since this is all that I need but I can't get it to sort like I want.
>
> Here
Robin Norwood writes:
> Samuel Brown <[EMAIL PROTECTED]> writes:
> > Hi ya,
> >
> > I'm teaching myself Perl and I have a log file around 1GB that I need
> > to sort by month | date | time | byte size. So far I have parse the log
> > for "bytes" since this is all that I need but I can't get it to
Samuel Brown <[EMAIL PROTECTED]> writes:
> Hi ya,
>
> I'm teaching myself Perl and I have a log file around 1GB that I need to sort
> by month | date | time | byte size. So far I have parse the log for "bytes"
> since this is all that I need but I can't get it to sort like I want.
Well...
Fi