in reply to Error opening file handle within while loop
I cannot recommend highly enough the Perl debugger as a tool for troubleshooting. You can verify that variables contain expected values, that program flow follows the path you expect. Most commonly, I run it interactively to test syntax before using it.
|
|---|