Well, Alright, so all I need right now is a little form emailer, but I just have that, "I need to know how it works" mentallity. I know I can just download something, but I want to understand it before it goes on a clients website.
I have a little programming expereince, and am looking for something that teaches me the basic intricacies of both CGI and pearl. A good reference would be nice too.
Also, I've done a little ANSI-C; is there anything out there that would help broaden the CGI scope to inlude the C's for me?
Eagerly awaiting some guidance,
-Jay
Also, it would be great to hear some advantages/disadvantages to PHP....
I found the title of this post funny, because that's probably the most common question I hear about a perl script: "what's the path to perl?"
Of course, for most people it's #!/usr/bin/perl
:)
Besides the Camel book, I would definitely recommend downloading a few free form processing scripts and checking them out. Most of them are well documented, and you'll probably get a very good idea of how they work if you have previous programming experience.
I've been browsing books on PHP and a few on CGI & Perl for the past 2 days without coming to any solid conclusions on what best suites my needs. I strive for good material, so I don't waste my time in the long run.
Your right about the Camel book, it does look like a good reference. But I was looking for something that goes more in depth on CGI and covers some perl basics... I should probably pick up the mouse and the Emu(?) books. If anyone can reccomend anything better than the O'Reilly's, I would appreciate it; they seem like all I own... The animals are good company though...
Again, thank you both for your time...
-Jay
I appreciate your interest. I'm just a kid who's a couple years out of the Air Force perusing a computer engineering degree. I do web stuff in my spare time.
Right now, I just need a little FormMail CGI, but I'm looking for advice on the best tools to form a working knowledge of the language and the interface. So for the future, I'll be better equipped.
Regards,
-Jay
It's been written by a group of Perl coders in England (the "nms project"). It's better than many of the form-mail scripts because it is incapable of being hijacked by spammers to send out spam via the form. An earlier version of such a script has been widely used on the net, and is now the source of a good deal of spam. I'm using the nms script now on my site.
Does your Internet Service Provider have perl installed already? Do you have a "cgi-bin" directory on your server that you can upload files to? That's where the perl script will go.
As you begin digging in and developing, don't hesitate to search WebmasterWorld or ask a new question if you run into obstacles, need clarification or just plain direction on what's next. Best wishes!
Resources:
The Common Gateway Interface (CGI) [hoohoo.ncsa.uiuc.edu]
Perl [perl.com]
As far as the advantages/disadvantages of PHP vs Perl? This is a topic that gets hashed and rehashed waaaaayyyyy to often. Do a search on this forum and you'll get plenty of reading. Expand the search to the entire web and you'll get even more.
I'll check that out script, with a couple learning resources, maybe I can get my head around it. And yes, I have the good ole CGI-bin, but i have a couple of them, one in every sub domain folder I think. I'm sure anything good will explain why though...
Yeah, Spam sure is the black plague of the internet, doesn't seem to be any lack of ingenuity in the methods used for harvesting email addresses.
Coopster,
Thanks, I also check out those resources. I'm sure they'll be helpful. Your right about the PHP/Pearl being exhaustively dueled over. I'm a real middle of the road kinda guy, and I'm sure they both have their strengths and weaknesses. Academically, I think I'm going to investigate both...
-Jay