note
ww
<p>Yes, that should work, but --- <i>Beware! Thar' be monsters there<b>!!!</b></i></p>
<p>Keeping a separate directory (or dir tree) for scripts has many merits... (including giving you a place for smallish data files that you don't want commingled with the distro) and with the path to the executable established (see my earlier but now following response), one can run the scripts from their own directory ... or from the <tt>C:\ </tt> prompt using a fully qualified path to the script,
for example:</p>
<c>C:\>dir d:\_Perl_\PMonks\11*.pl
Directory of d:\_Perl_\PMonks
...10/09/2014 08:44 AM 504 1103295.pl
10/15/2014 06:23 PM 789 1103938.pl ...
C:\>D:\_Perl_\PMonks\1103938.pl foo
using shift and the CLI argument, 'foo'
shift method: foo
Enter one arg for shift method: bar
(at_foo and @_ method) argument is: bar
C:\></c>
<p>Yes, this is an ActiveState install, but it still applies to OP's problem and the parent node's suggestion</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-352046">
<br>
<p><center><b><c>++$anecdote ne $data</c></b></center></p>
<br>
<!--
<b>Questions containing the words "<i>doesn't work</i>" (or their moral equivalent) will usually get a downvote from me unless accompanied by:</b>
<ol><li><b>code</b></li><li><b>verbatim error and/or warning messages</b></li><li><b>a coherent explanation of what "<i>doesn't work</i> actually means.</b></li></ol>
-->
<!--<center><i><small>Come, let us reason together: [id://188642]</small></i></center> -->
<!-- <center><i><small>If I've misconstrued your question or the logic needed to answer it, I offer my apologies to all those electrons which were inconvenienced by the creation of this post.</small></i></center> -->
<!-- <br><center>If you didn't program your executable by toggling in binary, it wasn't really programming!</center><br> -->
<!-- <br><center><b>Quis custodiet ipsos custodes.</b> Juvenal, Satires</center><br> -->
<!-- <p><center>check Ln42!</center></p> -->
</div></div>
1107249
1107268