Perl

This is an excellent list of top five things that every Perl programmer should be aware of. A great article with good tips. From the article: Inside every tangle of obfuscated Perl code is a clean, well-architected gem struggling to emerge from its cocoon. brian d foy has spent a lot of time thinking about […]

{ 1 comment }

You may have noticed that most shell and perl script starts with the following line: #!/bin/bash OR #!/usr/bin/perl It is called a shebang. It consists of a number sign and an exclamation point character (#!), followed by the full path to the interpreter such as /bin/bash. All scripts under UNIX and Linux execute using the […]

{ 18 comments }

Here is a quick question by one of our regular reader : How to write a perl script that can monitor my disk space under UNIX or Linux and send me an email alert? There is a nice perl system routine called Perl df or Filesys::DiskSpace. This routine displays information on a file system such […]

{ 36 comments }

Lighttpd logo

Lighttpd has mod_cgi module that allows you running Perl and other server side programs via cgi-bin directory. The Common Gateway Interface (CGI) is a standard protocol for interfacing external application software with an information server.

{ 23 comments }

At my work place, we provide shared hosting and http 500 error is the most common in trouble tickets. Although everything is properly configured we still get reports of error. Send MIME type 99% time – it was not servers fault at all. I found that the most common reason for HTTP 500 errors is […]

{ 2 comments }