in reply to Re^5: How to write testable command line script?
in thread How to write testable command line script?
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: How to write testable command line script?
by AnomalousMonk (Archbishop) on Nov 21, 2018 at 03:46 UTC | |
by thechartist (Monk) on Nov 21, 2018 at 04:02 UTC |