One of the most disastrous job interviews in history of this industry was by myself, for an internationally known firm. Frankly they could have been talking to a baby and although they helped as much as they could, the interview just went from bad to worse every time I opened my mouth.

One of the prerequisites for the position was Perl. Until then, I had never considered Perl, but the day I applied for the position, I decided I should have a look.

What? Perl is an Interpreted language. Has many similarities to PHP and Ruby. It has a healthy community and it's fun.

Why? You are a PHP developer and you always wondered what the cgi-bin folder was for.

Would you? No. If I am going to tinkle with a language for fun, I would probably choose Ruby. Not that there is anything wrong with Perl... but then, was there anything wrong with Lisp or Tcl?

In my opinion, if you are delving into any language, the first port of call is to create a CRUD application. A CRUD app is scalable, usable and pretty much every 'business' app known to man uses it in one form or another. This is my first and last app in Perl. It is basic, but provides the building blocks to create something much larger, like a Blog, a CMS or an administration tool.

Things to remember:

  • This is presented as a CGI script (something to Google).
  • The files should go in the cgi-bin folder of your web server (you know, the one that you never really understood what it did).
  • The permissions of the files in the folder must be set to 755. Not 644 or 777, but 775. It won't work otherwise.
  • Make sure the bash command on the first line leads to the Perl installation (it should be ok, but it won't be difficult to change. This must be done on all files).

Your URL will go to www.yourite.com/cgi-bin/create.cgi.

A more indepth look at this will be available, one day... possibly... when I get around to it.



Rohan Leach .... thoughtful