Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 11-16-2005, 09:26 PM   PM User | #1
Andy92
Regular Coder

 
Andy92's Avatar
 
Join Date: Nov 2005
Location: Horsham, West Sussex, UK
Posts: 362
Thanks: 7
Thanked 1 Time in 1 Post
Andy92 is an unknown quantity at this point
What basically is pearl and cgi?

Hey there,

In brief, what is perl and cgi?

Is it worth learning them if im learning, php, mysql, javascript and css?

__________________
Pixeno 100Mbps Web Hosting - Twitter!
Andy92 is offline   Reply With Quote
Old 11-16-2005, 10:44 PM   PM User | #2
TheShaner
Senior Coder

 
TheShaner's Avatar
 
Join Date: Sep 2005
Location: Orlando, FL
Posts: 1,118
Thanks: 2
Thanked 37 Times in 37 Posts
TheShaner will become famous soon enoughTheShaner will become famous soon enough
Perl is a programming language that is known for its string manipulation. It's commonly used in CGI applications, which can perform similarly to PHP, ASP, etc.

However, unlike PHP and ASP, you can't write HTML directly in the page. All the HTML has to be printed out by the CGI application. So it's a Perl program that then has to print HTML to the browser. PHP and ASP can allow HTML to just be written directly in the page and the server will only process the code inside the special tags.

You really don't have to learn (right now) while you're learning the others. Perl will seem be more difficult than PHP, ASP, and JavaScript. I'd save that for later while you're still learning those.

-Shane
TheShaner is offline   Reply With Quote
Old 11-17-2005, 04:34 PM   PM User | #3
Andy92
Regular Coder

 
Andy92's Avatar
 
Join Date: Nov 2005
Location: Horsham, West Sussex, UK
Posts: 362
Thanks: 7
Thanked 1 Time in 1 Post
Andy92 is an unknown quantity at this point
Ok,

I will probably study it after christmas.

And do pearl and cgi make a nice pc language couple?

And what does pearl and what doers cgi stand for?
__________________
Pixeno 100Mbps Web Hosting - Twitter!
Andy92 is offline   Reply With Quote
Old 11-17-2005, 10:56 PM   PM User | #4
hyperbole
Regular Coder

 
Join Date: Sep 2005
Location: Madison, Indiana, USA
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
hyperbole is an unknown quantity at this point
CGI is the Common Gateway Interface. It is a group of values that are passed from the web server to any program that it runs when a page request asks for a server side program to run. Most commonly they are made available to the program by environment variables. The (usually Apache) server stores the information about the page request in a set of known environment variables and the program (or script) can access their information by getting the information out of these variables.

Perl is a scripting language. It is often used for writing CGI scripts, but it can be used for doing lots of other things as well. It can be run on a machine where there is a web server running on the machine or not.

You can run Perl on a PC. Look for ActivePerl for a source to download a copy that will run on a PC.

You will only have CGI on your PC if you have a web server (such as Apache, Xitami, etc. ) running on the machine.



.
hyperbole is offline   Reply With Quote
Old 11-18-2005, 04:39 PM   PM User | #5
Andy92
Regular Coder

 
Andy92's Avatar
 
Join Date: Nov 2005
Location: Horsham, West Sussex, UK
Posts: 362
Thanks: 7
Thanked 1 Time in 1 Post
Andy92 is an unknown quantity at this point
Ok.

And who made perl and cgi?
__________________
Pixeno 100Mbps Web Hosting - Twitter!
Andy92 is offline   Reply With Quote
Old 11-18-2005, 05:29 PM   PM User | #6
FishMonger
Moderator


 
Join Date: May 2005
Location: Southern tip of Silicon Valley
Posts: 2,529
Thanks: 2
Thanked 96 Times in 92 Posts
FishMonger will become famous soon enough
CGI is a set of standards written by a group of people, not just one person.
http://www.w3.org/CGI/

Larry Wall is the originator of Perl
http://www.wall.org/~larry/
FishMonger is offline   Reply With Quote
Old 11-19-2005, 10:42 AM   PM User | #7
Andy92
Regular Coder

 
Andy92's Avatar
 
Join Date: Nov 2005
Location: Horsham, West Sussex, UK
Posts: 362
Thanks: 7
Thanked 1 Time in 1 Post
Andy92 is an unknown quantity at this point
Isnt the w3c a group of big companys like microsoft, adobe, mozilla etc?
__________________
Pixeno 100Mbps Web Hosting - Twitter!
Andy92 is offline   Reply With Quote
Old 11-25-2005, 07:51 AM   PM User | #8
Jeff Mott
Regular Coder

 
Join Date: Sep 2003
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Jeff Mott is an unknown quantity at this point
No.

About the W3C
Jeff Mott is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:05 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.