Pete <[EMAIL PROTECTED]> wrote:
:
: Hi Charles
:
: Still no luck...
:
: I tried:
: system_call_test( 'C:\Inetpub\wwwroot\ASPtoPerl\MakeFile.pl')
: system_call_test( 'C:/Inetpub/wwwroot/ASPtoPerl/MakeFile.pl')
:
: I even moved the File to the "scripts" folder and tried:
: system_call_test( 'C:\Inetpub\Scripts\MakeFile.pl')
:
: Any more ideas ?
Sounds like perl is not starting automatically. Try this:
my $file_path = $Server->MapPath( "/ASPtoPerl/MakeFile.pl" );
my $exit_status = system_call_test( "perl $file_path" ) / 256;
This calls the perl.exe directly. If you don't have perl.exe
in your servers path, you'll need to complete path to it:
my $exit_status = system_call_test( "c:/perl/bin/perl.exe $file_path" )
/ 256;
Or something like that.
If this doesn't work, show us what prints to the browser.
HTH,
Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>