That is why my code tested for eof (end of file) for both file handles. To complete the validation, verify that it reached the eof for both handles after the while loop.
*edited my code to demonstrate*
In reply to Re^3: Perl delete function
by wind
in thread Perl delete function
by annel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |