in reply to Help with recurring "uninitialized variable" problem.
Try this:
while (defined (my $one_line = <>)) { if ($one_line =~ !/^#+/) { ($source, $destination, $bytes) = split(/ /, $one_line); $net_activity{$source}{$destination} += $bytes; }# ignore comments }# read in each line of the net log
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help with recurring "uninitialized variable" problem.
by C_T (Scribe) on Apr 09, 2004 at 16:58 UTC | |
by Ovid (Cardinal) on Apr 09, 2004 at 17:12 UTC |