How to easily resige images in Perl
Wednesday 17 March 2010 @ 6:46 am

How to easily resize images (jpg) in perl? Use Image::resize

use Image::Resize;
use autodie;

$src = "bigimage.jpg";
my $old = Image::Resize->new($src);
my $new = $old->resize(200, 300); # max dimensions

$jpegdata = $new->jpeg(95); # jpeg quality

open OUT, ">./smaller/$src";
print OUT $jpegdata;
close OUT;
Comments (0) - Posted in work by  

Rocketaware – perl resources
Wednesday 21 October 2009 @ 6:56 am

Often, when I googled for information about Perl, that website came up in search results: .

It looks quite ugly, like but is great source of information about perl, especially for beginners. Take for example this page: – it list all that cryptic “Short-hand variables.”, and also functions and operators.

This page does not only seem to be old, it is old. For example this page: points to , where you can read (at least now) that:

Note that the old documentation, often advertised as or, has been removed from CPAN as of November 2001 because it had not been updated for several years”.

The documentation in not-so-archaic distributions of perl points to this place instead: where the old docs are stored. The rocketaware site seem to not be aware of those year 2001 changes, and in footer one can read: “Copyright 2000, Forrest J. Cavalier III.”

So to sum op, this site is:
– old
– ugly
– useful (at least if you don’t mind using perl as it was year 2000)

The page alone makes this website worth recommendation.

Comments (0) - Posted in work by