in reply to Re^3: Filtering Output from two files
in thread Filtering Output from two files
so i have to add $row =~ s/\s*$// after next if $row =~ /^\s*$/; and it will work? i cant really check from here since i am at home and would have to wait another 12 hoursopen (my ($fh2),$file2) or die $!; while (my $row = <$fh2>) { chomp $row; print "$row\n"; next if $row =~ /^\s*$/; my (@fields) = split(/\|/, $row);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Filtering Output from two files
by hippo (Archbishop) on Feb 06, 2018 at 16:36 UTC |