Azure Jane Lunatic (Azz) 🌺 (
azurelunatic) wrote2003-12-09 10:51 am
Things I need to do:
>http://www.lies.com/begperl/
> which perl
path
'#!/path' is the first line.
Any # thereafter is a comment.
Make sure to chmod the file to an appropriate level of permission: 755.
/usr/local/etc/httpd/cgi-bin/
http://www.webdeveloper.com/cgi-perl/cgi_idiots_guide_to_perl.html
http://learn.perl.org/library/beginning_perl/3145_Chap12.pdf

no subject
I've picked up some PHP solely from web-stuff, the only reference books I have are for Python and Perl.
Apart from some annoying things, I've found it really easy to work with.
(I'm suggesting because if this is something you want to have running in a hurry, you might find existing PHP scripts easier to modify, or find PHP easier to pick up.)
no subject
This is just for small "Hello world" pages in lab. Well, small hello world, and also some other fun stuff later on.
no subject
PHP is a great option for lazy people. It's good enough to write proper data-processing applications, but you can just use HTML to build the UI, and it's easier to include with the HTML.
Rather than having to do loads of 'printf()' statements, or whatever, you can just write your HTML as normal, and put <?php> blocks in where you need code.
no subject
no subject
Re: PHP
Re: PHP
Re: perl
should always be the first line. Using -w will save you hours upon hours of work. 'use strict;' is your friend as well
Feel free to e-mail me or give me a call if you have problems. I've taught Perl for a living in the past...
Re: lazy people
Re: lazy people
Yes, I've abused my poor Mac OS X workstation into taking on web and email server roles, too.
I don't do this for a living, of course, since if I did I'd be a whole lot better at it. ;o)
no subject
This is perl, v5.8.0 built for i386-linux-thread-multi
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page.
[root@joan root]# which perl
/usr/bin/perl
Re: perl
Re: perl
Re: perl
The instructor is a Good Ol' Boy who believes in the power of independant research. This is not making the people in class very happy.