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')
In reply to Re: testing a standalone script with parameters
by andreas1234567
in thread testing a standalone script with parameters
by chexmix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |