in reply to Re: How can I sort this data on the fourth field?
in thread How can I sort this data on the fourth field?
FunkyMonk,
I am not sure where to insert this into my perl code. I am reading this data in from a file and I am
skipping some lines of input. The beginning code is as
follows:
for my $file ("may_07_xsd00544.dat") { open (my $fh,"<",$file) or die "Can't open file $file: $!"; while (my $line = <$fh>) { chomp($line); last if ($line =~ /TOTAL COMMAND SUMMARY/); next if (($line =~ /^[a-zA-Z]/) or ($line =~ /^\s*$/) or ($line =~ /^ +\s/));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can I sort this data on the fourth field?
by FunkyMonk (Bishop) on Aug 16, 2007 at 13:54 UTC | |
by country1 (Acolyte) on Aug 16, 2007 at 14:23 UTC | |
by FunkyMonk (Bishop) on Aug 16, 2007 at 14:31 UTC |