It works with Perl 5.003 but not with 5.005.
I am running the following Perl program.
#!
$sas="\"G:\\Program Files\\SAS Institute\\SAS8\\sas.exe\"";
#$sas="D:\\SAS612\\sas.exe";
print "$sas";
system ("$sas") && die "\n\nCouldn't do it\n\n";
exit;
With the line enabled for the first value for $sas it fails to execute the
intended program. With the second value enabled it executes the prior
version of SAS ok. I can cut/paste the line that I print and it executes
ok. This is from NT at a DOS command window. Here is the output.
D:\Inetpub\WWWRoot\cgi-bin>perl -w foo.pl
"G:\Program Files\SAS Institute\SAS8\sas.exe"Can't spawn "cmd.exe": No such
file
or directory at foo.pl line 8.
Couldn't do it
Can someone point me in the right direction? Thanks.
Jim Hoffman
<x-rich><bigger>Regards, Jim Hoffman
</bigger>
<italic>[EMAIL PROTECTED]
(512)335-2294
(512)258-0982 fax
</italic></x-rich>
winmail.dat