dexter29 has asked for the wisdom of the Perl Monks concerning the following question:
sub GroupRows { my ($LogName) = @_; open LOGA, "< $LogName" or die "Cannot open $LogName\n$!\n"; while (! eof(LOGA)) { chomp($line_a = <LOGA>); if (($line_a =~ /^\#/) { undef $line_a; next; } else { push(@LogVals, $line_a); } } close(LOGA); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issue merging 2 log files.
by Fletch (Bishop) on Jan 09, 2008 at 15:47 UTC | |
|
Re: Issue merging 2 log files.
by ww (Archbishop) on Jan 09, 2008 at 15:51 UTC | |
|
Re: Issue merging 2 log files.
by salva (Canon) on Jan 10, 2008 at 08:41 UTC | |
|
Re: Issue merging 2 log files.
by MidLifeXis (Monsignor) on Jan 09, 2008 at 19:11 UTC |