Reading from <FILE> would probably work better...
(I didn't scan it for less glaring mistakes, though I would suggest that you do as perlstyle suggests and include the file name and operation in your error messages along with $!.)
In reply to Re: Sort and Compare Files
by tilly
in thread Sort and Compare Files
by lanier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |