But I know it's a scripting language ( Just like PHP ) .
Izzy wrote:But I know it's a scripting language ( Just like PHP ) .
Perl is not 'Just like PHP' - PHP is a server-side HTML embedded scripting language - PHP = HyperText Preprocessor.
Perl is treated differently to PHP by being contained within a Common Gateway Interface that the server knows the location of, and so will only use this CGI_BIN for executing code in an executable file (.pl or .cgi).
http://www.whenpenguinsattack.com/2006/ ... p-vs-perl/
You can't have, for obvious security reasons, executable files being executed all over the place.
I can hear you sat - "I know all that" - but IMHO your questions don't reflect your knowledge on the subject and so more reading should be in order.
So, your initial question I answered in detail as your question was, IMHO, a question from someone who knew absolutely nothing about Perl what so ever and my opinion has not changed one bit by your second question.
You are now asking another question entirely that is explained in detail if you care to read the cgi related items in the XAMPP for Windows home page
and it would not hurt to read the XAMPP FAQ either
Also you should have read this before asking your very simple questions on these forums:
All perl scripts go in the default cgi_bin until you change the location in the httpd.conf file or an httpd-vhosts.conf file as outlined in the XAMPP Home Page in case you missed it when your read that page.
Users browsing this forum: No registered users and 32 guests