tkil-sdpm at scrye.com
Thu Feb 20 10:56:41 CST 2003
>>>>> "Joel" == Joel Fentin <joel at fentin.com> writes:
Joel> print 'form3';
Joel> #system('c:apache\cgi-bin\form4.pl'); #error
Joel> #system('form4.pl'); #error
Joel> #system('./form4.pl'); #error
Joel> #system ('c:apache/cgi-bin/form4.pl'); #error
Joel> #system('c:/apache/cgi-bin/form4.pl');#wont bomb
Joel> #system 'c:/apache/cgi-bin/form4.pl'; #wont bomb
Joel> #system `c:/apache/cgi-bin/form4.pl`; #wont bomb
Joel> #system (`c:/apache/cgi-bin/form4.pl`);#wont bomb
system "c:/perl/bin/perl.exe c:/apache/cgi-bin/form4.pl";
(put in the correct path to your perl executable, of course.) Or
system "c:\\windows\\command.com /c c:\\apache\\cgi-bin\\form4.pl";
Remember that win32 doesn't understand (let alone honor) the "#!"
line, and that the association of "open .pl files with perl" may not
be handled in the system itself (rather, it's handled by the shell);
that's the theory behind getting the first one to work.
If the second one works, it's because command.com might understand the
association of file types, and correctly invoke perl for it.
If neither works, the next thing to ask is: which perl are you using
(ActiveState, CygWin, or other?), and where is it installed, and how
the heck are you getting form3.pl to run when form4.pl is being so
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm