|Pathologically Eclectic Rubbish Lister|
Re: How do you test end-user scripts?by snoopy (Deacon)
|on Sep 06, 2010 at 02:42 UTC||Need Help??|
>>Assume for the sake of argument that foo.pl operates in a unix-y way (ie, not interactive, takes in some input from stdin, does magic, and writes output to stdout)
If you do decide to run your scripts, you might want to look at Test::Script::Run.
I'm using it to write tests that run on various Unixes.
I've also experimentally tried it on Windows; seems to work there as well.