<?xml version="1.0" encoding="windows-1252"?>
<node id="858968" title="Re: How do you test end-user scripts?" created="2010-09-05 22:42:29" updated="2010-09-05 22:42:29">
<type id="11">
note</type>
<author id="414875">
snoopy</author>
<data>
<field name="doctext">
&lt;em&gt;&amp;gt;&amp;gt;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)&lt;/em&gt;
&lt;p&gt;
If you do decide to run your scripts, you might want to look at [mod://Test::Script::Run].
&lt;p&gt;
I'm using it to write tests that run on various Unixes.
&lt;p&gt;
I've also experimentally tried it on Windows; seems to work there as well.</field>
<field name="root_node">
858958</field>
<field name="parent_node">
858958</field>
</data>
</node>
