![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #2 |
|
Senior Coder ![]() Join Date: Sep 2005
Location: Orlando, FL
Posts: 1,118
Thanks: 2
Thanked 37 Times in 37 Posts
![]() ![]() |
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 |
|
|
|
|
|
PM User | #4 |
|
Regular Coder ![]() Join Date: Sep 2005
Location: Madison, Indiana, USA
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
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. . |
|
|
|
|
|
PM User | #6 |
|
Moderator ![]() ![]() Join Date: May 2005
Location: Southern tip of Silicon Valley
Posts: 2,529
Thanks: 2
Thanked 96 Times in 92 Posts
![]() |
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/ |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|