Re: Local installation

[email protected] (Nick Ing-Simmons)
Newsgroups perl.unicode
Message-ID <[email protected]>
David Olsson <[email protected]> writes:
>What is the easiest way to install Encode for a single
>user?

Same as any other CPAN module.

perl Makefile.PL PREFIX=/home/cedric/perl_modules
make 
make install

then:

#!/usr/bin/perl
use lib '/home/cedric/perl_modules';
# or if script is relative to install location something like:
use FindBin qw($RealBin);
use lib "$RealBin/../lib"
use Encode;
...

But:
   Encode is standard with perl5.8+ 
    - although there may be a newer CPAN version
   Encode does not work with perl5.6 

So what exactly do you need?

>
>Thanks.
>
>~David Olsson
>Easthampton, MA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.