in reply to testing a standalone script with parameters
So really the question is how, in that testing script, do I go about passing in those parameters to the main() routine in myScript?Set @ARGV before you call main(), e.g. @ARGV = ('--files=foo','--output=1')
|
|---|