23 December, 2011 / tom / 0 Comments
A commonly asked question by sysadmins is how to list all perl modules – installed and known to perl – on a system.
This is how i do it:
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC;' |
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC;'
* I took this somewhere from perlmonks a long time ago.
14 March, 2011 / tom / 2 Comments
At least once a year we go for holiday together with some friends. No question, they all bring their digital cameras and take a load of pictures.
Right after we get back home they send me their images to upload them to our gallery.