Monthly Archives: September 2009

I am impressed with WordPress

After heard about WordPress for many years as a Content Management System (CMS) and after using different bloated CMS, e.g. PHPNuke and Mambo/Joomla, I decided to try out WordPress for my professional blog site. I’ve been using Mambo then Joomla when the core developer broke away from the Mambo company for my personal blog site.

spacer

Simple Perl Howto

Search and replace text in multiple files perl -pi -e 's/OLD_TEXT/NEW_TEXT/' FILE_PATTERN e.g. perl -pi -e 's/Hello World/Goodbye World/' hello.c

spacer

Wavemaker – a promising web interface builder

I stumbled upon Wavemaker during one of my nightly stroll through the sourceforge website. The download and installation of Wavemaker was quick and easy process that took only 10minutes. Using one of the tutorial videos, I managed to quickly build up a simple CRUD (Create, Read, Update and Delete) application for existing database table on

spacer

Perl Subroutine for Logging

I have a perl subroutine that I use often to create a log file for my scripts. #!/bin/perl ############################################################# # ############################################################# use Time::localtime; $LOG_LOCATION="/var/log"; $LOG_FILE_PREFIX="myscript"; logMessage("This is a test"); ############################################################# # Returns logfile = /var/log/myscriptYYYYMMDD.log ############################################################# sub getLogFilename() { my $currentYear; my $currentMonth; my $currentDay; my $targetFilename; my $currentDateStat; $currentDateStat = localtime; $currentYear = $currentDateStat->year

spacer