Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



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
Trades: 0
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
 
 
Register now for full access!
Old 07-24-2007, 07:35 AM Re: What's the difference between Perl and CGI?
Ultra Talker

Posts: 483
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
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
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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 1.38477 seconds with 12 queries