in reply to Re: time consuming to get right modules by hand
in thread How to Teach artists Perl w/out Modules

You could install modules onto a cd and use them with the appropriate use lib 'whatever'.

Dominus talks about a simple graphics format PPM in his sample solution to his expert qotw #7. Your linux system may already have the cjpeg converter or some other installed.