I believe you need to run perl with the perl script to get it to run.
I currently have a script that runs another script with the following line:
exec "perl myscript.pl $n";
This works fine for me on Windows2000. $n is just the variable I'm passing
in to myscript.pl. The perl.exe is in
> complicated for what I require as no variables are passed just a file read
require 'common_code.pl';
where common_code.pl might look like:
open FOO, 'foo.txt' or die "foo: $!";
# stuff
close FOO;
1; # remember this
___
Perl-Win32-Users mailing