Category Archives: perl

PHPHOST BLOG

Web Hosting Related Articles You May Need

Howto Create a Daily Rotating Log in Perl using Log::Log4Perl

Background

Recently while cruising StackOverflow I came across this question where a user was trying to use the Perl module Log::Log4Perl. Log4Perl provides a mechanism similar to log4j (logging for Java) for logging mesages to various outputs such as the console or a log file. I’ve used this module a couple of times in the past […] Continue reading

Posted in perl, programming, Syndicated, tip, tips & tricks | Comments Off on Howto Create a Daily Rotating Log in Perl using Log::Log4Perl

Analyzing the Popularity and Install Base of Various Programming Languages

Background

We’ve been having some discussions at work recently, trying to determine what programming languages & frameworks to use on a new project we’ll be ramping up shortly. It’s always fun to have these discussions because there really is an amazing amount of choice available today. It also can be exhausting because everyone has their favorites, […] Continue reading

Posted in benchmarking, java, languages, performance, perl, programming, python, Syndicated, tutorials | Comments Off on Analyzing the Popularity and Install Base of Various Programming Languages

[one-liner]: Managing Multiple Installations of Perl in your $HOME Directory using Perlbrew

Background

If you’re a Ruby or Ruby on Rails developer then you’re most likely familiar with rvm. rvm is just one of those tools that once you get your head around and start to use, you’ll say “duh! Why didn’t I think of this earlier?”. Well I just found a similar tool for Perl. It’s called […] Continue reading

Posted in one-liner, perl, programming, Syndicated, tips & tricks | Comments Off on [one-liner]: Managing Multiple Installations of Perl in your $HOME Directory using Perlbrew

[one-liner]: Changing a ISO File’s Volume ID via the Command Line on Linux

Background

Have you ever needed to change the Volume ID on a pre-existing ISO file? I thought for sure there had to be a command-line tool that would allow for this. But after googling for over an hour I could only find 2 methods to do this.

The first was simply firing up a GUI, such […] Continue reading

Posted in DVD, linux, one-liner, perl, script, Syndicated, tips & tricks | Comments Off on [one-liner]: Changing a ISO File’s Volume ID via the Command Line on Linux

[one-liner]: Getting Started with Object Oriented Perl, Moose, and MooseX

Background

I’ve started to focus on getting more proficient with Object Oriented programming, specifically using Perl. I’ve used the more traditional approaches of OO in Perl and find them way too wordy, compared to a more modern language such as Ruby. So when I came across Moose and MooseX and was intrigued. They seemed to really […] Continue reading

Posted in one-liner, OOP, perl, programming, Syndicated, tips & tricks | Comments Off on [one-liner]: Getting Started with Object Oriented Perl, Moose, and MooseX

[one-liner]: Creating an Archivable Set of CPAN Modules

Background

I recently developed an application using Perl and needed a way to systematically download all the original CPAN tar files that my Perl application used, so that they could be included in an archive. The plan was to archive the application, the modules, along with a copy of Perl.

Solution

Turns out it’s not too hard to […] Continue reading

Posted in cpan, one-liner, package management, perl, Syndicated, tips & tricks | Comments Off on [one-liner]: Creating an Archivable Set of CPAN Modules