in reply to Problem with Image::Thumbnail and Image::ThousandWords

If your provider can't fix it (they should be able to, but sometimes providers are incompetent), and if you have shell access to your account (no need for root access), you can install the module yourself:

Assuming your home directory is /home/jaysoon, create a directory like /home/jaysoon/perl-modules, and invoke the CPAN shell like this from the command line:

perl -e'use lib "/home/jaysoon/perl-modules"; use CPAN; shell'
Then, answer a couple of questions and at the prompt, say

cpan> install Image::Thumbnail
Once the module has been installed, quit the shell and use

use lib '/home/jaysoon/perl-modules'; use Image::Thumbnail;
in your Perl scripts to pull it in. This way, you can manage your modules without dealing with the provider every time.

Replies are listed 'Best First'.
Re: Re: Problem with Image::Thumbnail and Image::ThousandWords
by soon_j (Scribe) on Mar 19, 2004 at 09:30 UTC
    I finally confirmed that Thumbnail.pm was not installed in a directory covered by the above PATH's I mentioned.

    From saintmike's suggestion, I tried to manually copy /Image/Thumbnail.pm and placed it in a certain directory. From my script, I added "use lib 'DIRECTORY_I_COPIED_THEM'" and the whole thing worked.

    THANKS!!!!