Re: a newbie encounters difficulties in using module




Quoth "Rose" <rose@xxxxxxxx>:
I'm testing the codes obtained from internet:


use Imager;
use Imager::Plot;
<snip>

I have already installed Imager module by CPAN.

install Imager

then by

install Color

There is a module called 'Color' on the CPAN, but it has nothing to do
with Imager. If you meant Imager::Color, then that is part of the Imager
distribution and should have been installed along with Imager.

And when I ran the test.pl by perl test.pl, the following error appears.
What else should I do?

Can't locate Imager/Color.pm in @INC (@INC contains:

This makes no sense. Somehow you seem to have installed Imager.pm
without Imager/Color.pm, which should be impossible. I would suggest you
try reinstalling Imager.

Ben

.



Relevant Pages

  • Re: Imager module to resize a GIF
    ... Is there something wrong with your gif file? ... GIF/testimg/expected.gif in the Imager distribution; ... I thought that the Imager package would include everything it ... so I tried to install it manually. ...
    (comp.lang.perl.misc)
  • Re: Backing up the registry and the OS before cleaning after Acronis True Image
    ... an old installation of Acronis True Image which left dangerous debris ... Then you need a better imager. ... its the best way to protect yourself before you start molesting the OS install manually. ...
    (comp.sys.ibm.pc.hardware.storage)
  • module installation
    ... Thanks to Ben's and Michele's advice, I'm reconfirming the modeule ... Imager is up to date. ... install Bundle:Imager ... When I tried to uninstall them, I went to perl directory but could not find ...
    (comp.lang.perl.misc)
  • Imager::Plot
    ... I tried to install Imager::Plot but it failed: ... please make sure that Imager was compiled with support ... Imager is installer as well as freetype2 ...
    (perl.beginners)
  • Newbie question: Imager module and p5-Imager in /usr/ports/
    ... I have tried to add Perl module "Imager" using CPAN. ... I find a p5-Imager port. ...
    (freebsd-questions)