On Thu, Feb 19, 2015 at 2:49 PM, nicolas <nicolas...@mail.com> wrote:
> I copy the file Tie::IxHash to perl 5.18.2 and receive this message. > Probably I have to copy the whole module all the content of > Tie-IxHash-1.23.tar.gz. once decompressed. What to do ? > > jupiter@jupiter-OptiPlex-755:~/Documents/base-0.50$ ./base.pl -i words > Can't locate Tie/IxHash.pm in @INC (you may need to install the > Tie::IxHash module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 > /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at > /usr/local/share/perl/5.18.2/lib/vt.pm line 23. > Yeah, you don't want to copy a module like that, you want to install it and let that do the copying. If you don't have cpan, you'd unzip-tar the mess and, if there aren't install instructions in the README something like (well, once it was like this, been a while since I've done it): $ perl Makefile.PL $ make $ make test $ sudo make install but copying, unless it really is just a single file, won't work. In the above case, you'd need to at least copy the file IxHash.pm to a dir name "Tie" -- a Andy Bach, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk