PERL/CGI

 This site is equipped with an interesting menu system. This site can be navigated by the keyboard.

Home - H

Rants - R

Programming - P

Links - L

Institute of Learning - I

Message Board- M

E-Mail me - E

Top of this file - T

 Getting Started: What do you need to start programming PERL/CGI?

Samples

NOTICE-

For some reason, fortunecity is adding some HTML code into the textareas that I am using to display these samples. Delete the following text from the bottom of the samples:

<script language="Javascript">
<!--hide

var my_clientip = '205.188.208.41';

setonclickmethods();
setvisitorcookie(my_clientip);
//-->
</script>

Also some touch-up work on the HTML tags may be needed. Sorry for the inconvienence.

Perl

Sample1.pl: Very simple "Hello, world! program.

Sample2.pl: Simple input.

Sample3.pl: Simple input wih a check for sameness using matching expressions.

Sample4.pl: Simple file I/O.

CGI

Sample1.cgi: Very simple "Hello, world!".

Sample2: Samples using the GET and POST form methods.

Sample3: Uses matching expressions to see if information from a form is in a valid form.