If you are in 2K or XP you can go to the System Properties screen. In
there click on the advanced tab then "Environment Variables". Under
"System Variables" locate PATHEXT. Add ;.pl to the end of the list
then click OK.
The system should allow for executing .pl files. As long as you have
the
yes.I think your question is making the 'perl command interpret' default
to excute the plx file that you made.You can make the configration in
windos to solve the problem.
-Sandy
Drue Reeves wrote:
Truly newbie questions
Why do some scripts have a CGI extension while other a .pl and still o
Your answer actually lies in the system that you are using first. The reason the CGI
scripts hold the .cgi extension. Is because that is what your webserver uses to grab
your CGI scripts from your CGI directory.
As for using perl myscript. That is a windows thing. If I remember correctly
lx.
yes you can, try "assoc /?" and "ftype /?" it'll tell how to associates
file types.
HTH
Raymond
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 8:37 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sub
You appear to be on a Windows system. The file extensions on Windows are for
association. Hence, to answer your second question first, if you're on
ActiveState Perl, all .pl extensions are automatically associated with perl, if
you did it right, and just typing 'foo.pl' in the shell should r
in
front
I think you can set up apache to only run (for example) .cgi's and not .pl's
but I never have.
-Original Message-
From: Drue Reeves [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 21 September 2004 12:58
To: Gunnar Hjalmarsson; [EMAIL PROTECTED]
Subject: Two easy questions.
Truly newbie questions
Why do some scripts have a CGI extension while other a .pl and still other a .plx?
Does the .cgi extension give it some web characteristics?
Is there a way to run my script without specifying "perl" before the script? In other
words, I want to type c:\myscript.plx i