CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
what is the difference between a pl file and a cgi file

 



obrien135
Novice

Nov 15, 2012, 4:50 AM

Post #1 of 3 (15088 views)
what is the difference between a pl file and a cgi file Can't Post

What is the difference between a pl file and a cgi file?



Do you have to convert a pl file to a cgi file before it can work (maybe in some cases; if so when?)? How do you perform such a conversion?



George


EveryAuction
New User

Dec 4, 2012, 7:53 AM

Post #2 of 3 (14990 views)
Re: [obrien135] what is the difference between a pl file and a cgi file [In reply to] Can't Post

I am not a Perl guru, but I have been working with Scripts for some Years.

Programming with cgi is different from programming with Perl. But when it comes to a file extension .pl or .cgi, it does not really matter wich ending you use. You therfore may change endings from .cgi to .pl without a problem.

Personally, I like Perl Scripting better, because it is more 'transparent' to handle, compared with cgi.

I guess this is what you want to know, and since noone from the Guru's has replied, I did it in my simple and unprofessional way...

Ernie


FishMonger
Veteran / Moderator

Dec 5, 2012, 8:35 AM

Post #3 of 3 (14470 views)
Re: [EveryAuction] what is the difference between a pl file and a cgi file [In reply to] Can't Post

cgi is not a programming language. It's a set of specifications which specify how an application communicates with a web server. See RFC 3875

cgi programs can be withing Perl, PHP, C, and just about any other language that can read/write to STDOUT.


(This post was edited by FishMonger on Dec 5, 2012, 8:36 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives