July 2011 Archives

When module installation fails

Edit Notice: I edited this post because of a very valid point made in brian's comment below.

I use perlbrew for managing my Perl installs as I am sure many people do. I was searching around metacpan for helper modules for perlbrew and found Bash::Completion::Plugins::perlbrew . I think this might be useful so I install it,

cpan Bash::Completion::Plugins::perlbrew 

a…

who cares about dependencies?

I used to worry, now, not so much. Here is my journey to less stress and worry.

Sometimes programmers have to develop applications for production environments that are less than ideal. By less than ideal I mean things like having a Perl version that was End of Life (EOL) December 16 2008, I am looking at you RHEL/CentOS 5.x. Add to that not being able to install CPAN modules or make other changes to the system. The setup I just described is far too common for developers (think shared hosting) and it is frustrating every time you run into it.

One way to solve this problem is to…

coming back to Perl, file slurping with IO:All

Having spent many years working jobs that involved no Perl programming I felt I was getting rusty so I re-read "Perl Best Practices". It is 2011 now, I should checkout what new things have developed in the Perl world. I was pointed towards Task::Kensho .

Task::Kensho is a glimpse at an enlightened Perl. After reading that I decide to see what it could do for me right now.

I was writing a script and I need to slurp a few files. Under Task::Kensho::Hackery I see "IO:All combines all of the best Perl IO modules into a single…

About Kimmel

user-pic I like writing Perl code and since most of it is open source I might as well talk about it too. @KirkKimmel on twitter