... while (<DATA1>) { next if /^\s*$/; if (/^.+?\s(.+?)\s/) { print $_ if not exists $hash{$1}; # note HERE } } ..
In reply to Re^3: Perl: How to print unmatched data after comparison of two files?
by 2teez
in thread Perl: How to print unmatched data after comparison of two files?
by WWq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |