David Olsson <davidolsson(_at_)yahoo(_dot_)com> 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