Could I ask another ?
No! (Just kidding :)
... adjust that code so that it will read the input data from a file ... and print the match data to [files] ...
Please see also perlintro, open, perlopentut, and some of the articles in Input and Output, such as File Input and Output (but use the modern "three argument" call to open; the latter article is old and often uses "global" filehandles in its examples).
Give a man a fish: <%-{-{-{-<
In reply to Re^3: comparing lines of data
by AnomalousMonk
in thread comparing lines of data
by Scotmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |