Reply
What's the difference between Perl and CGI?
Old 07-24-2007, 02:07 AM What's the difference between Perl and CGI?
Skilled Talker

Posts: 99
Perl is understood on my Apache with the CGI extension, but what is CGI, Perl, and all the references to other programming languages you can intermix in between all that stuff? I'm really confused...
Arez20469 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 07-24-2007, 07:35 AM Re: What's the difference between Perl and CGI?
Ultra Talker

Posts: 478
CGI stands for 'Common Gateway Interface': it defines how scripts and executables should expect incoming data as well as how to send outgoing data to and from the client (normally the browser).

Perl is a programming language that is commonly used to write 'web apps'... but all web apps must 'speak' CGI if they are to work. For some languages, this is more 'automatic' than others (eg. PHP does a lot more grunt work than Perl, which does a lot more than C).

For some reason, people seem to thing that Perl is CGI and vice-versa, but they would be wrong.
__________________
Free PHP Obfuscator
TwistMyArm is offline
Reply With Quote
View Public Profile
 
Old 07-25-2007, 05:08 AM Re: What's the difference between Perl and CGI?
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Ah but using CGI you can hook up to back end C programs that do much much more than php or perl.

So while PERL is a language CGI is an interface to the system via some script or exe (which could be PERL, shell, C , C++ etc).

Ibbo
__________________
www.nationalclubgolfer.com www.sportspub.co.uk www.bespokecc.co.uk www.centralmarquees.co.uk
Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to What's the difference between Perl and CGI?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11318 seconds with 13 queries