You last reply was very helpful! Running the test code manually, my debug print statements in the *.pl file show that the @answer array continues to contain the values from previous calls:
to the test file main sub definition (thinking that this would get cleared on every call) but that did not work. What do you suggest now?my @answer = undef;
In reply to Re^6: How to write testable command line script?
by thechartist
in thread How to write testable command line script?
by thechartist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |