To run it: script.pl serialnumbers.txt integers.txt
To print to a third file, add this somewhere before the second while loop:
open (my $output, ">", 'nameOfOutputFile.txt');
and change print STDERR to print $output.
I hope that works!In reply to Re^3: extract line
by mtmcc
in thread extract line
by lallison
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |