Tkil tkil-sdpm at
Thu Feb 20 10:56:41 CST 2003


>>>>> "Joel" == Joel Fentin <joel at> writes:

Joel> print 'form3';
Joel> #system('c:apache\cgi-bin\'); #error
Joel> #system('c:\apache\cgi-bin\');#error
Joel> #system('');                  #error
Joel> #system('./');                #error
Joel> #system ('c:apache/cgi-bin/'); #error
Joel> #system('c:/apache/cgi-bin/');#wont bomb
Joel> #system 'c:/apache/cgi-bin/'; #wont bomb
Joel> #system `c:/apache/cgi-bin/`; #wont bomb
Joel> #system (`c:/apache/cgi-bin/`);#wont bomb

How about:

   system "c:/perl/bin/perl.exe c:/apache/cgi-bin/";

(put in the correct path to your perl executable, of course.)  Or
maybe even

   system "c:\\windows\\ /c c:\\apache\\cgi-bin\\";

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 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 to run when is being so
obstinate? :)


The posting address is: san-diego-pm-list at

List requests should be sent to: majordomo at

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

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> .
This is the general rule for most mailing lists when you need
to contact a human.

More information about the San-Diego-pm mailing list