Changeset 18735
- Timestamp:
- Jul 25, 2008, 11:19:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/test/detect_query_create (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/test/detect_query_create
r18734 r18735 26 26 27 27 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 28 pod2usage( -msg => "Required options: --input --output ",28 pod2usage( -msg => "Required options: --input --output --query_id", 29 29 -exitval => 3) unless defined $input and defined $output; 30 30 … … 223 223 while (my $line = <$in>) { 224 224 $line_num++; 225 chomp $line; 225 226 next if ($line =~ /^#/); # skip comment lines 226 chomp $line;227 next if !$line; # skip blank lines 227 228 my @vals = split /$sep/, $line; 228 229 my $nvals = @vals; … … 241 242 my $ncols = @$colData; 242 243 while (my $line = <$in>) { 244 chomp $line; 243 245 $line_num++; 244 246 next if ($line =~ /^#/); # skip comment lines 245 chomp $line;247 next if !$line; # skip blank lines 246 248 247 249 my @vals = split /$sep/, $line;
Note:
See TracChangeset
for help on using the changeset viewer.
