Amazing Perl
Chin Siang's Perl Journal
Sunday, February 15, 2015
A Simple Perl Logger with Log Timestamp in Milliseconds
›
A simple Per Logger with log timestamp in milliseconds. #!/usr/bin/perl use strict; use Time::HiRes qw/gettimeofday/; use POSIX qw/strftim...
Thursday, January 22, 2015
How to Find UTC Time Offset from your Local Time?
›
This is the sample script to find the offset in seconds of your local time from GMT. #!/usr/bin/perl use strict; use POSIX; my @local = ...
Saturday, January 12, 2013
Use Notepad++ as Perl IDE
›
If you are looking for a fast and small in size text editor as Perl IDE, Notepad++ probably one of the best choice. By default, Notepad++ wi...
36 comments:
Friday, April 13, 2012
How to Convert a file from Windows format to Linux format
›
This is a Perl implementation of "dos2unix" (a utility to convert Windows/DOS file format to Linux/UNIX file format. #!/usr/bin/...
Sunday, April 8, 2012
Remove Old Log Files with Keeping Minimum Number of Copies
›
It is very common that not all the application will purge their old log files. Hence, you need to purge the old log files (backup ZIP files)...
Wednesday, November 16, 2011
Perl Quick References
›
Posting my personal Perl quick reference.
Monday, October 31, 2011
Perl Quick Start Template
›
When starting a new script, you can use this template as a base which consists of: RCS, CVS or SVN "Id" keyword to keep the versi...
›
Home
View web version