> Hi friends,
>       I am in this condition :
>               (1) I have to install XML::Simple or XML::Twig or such
XML module.
>               (2) Here Sys. administrator, does not install/ or allow
me to install (1). When I try to use within my user, it says 'no
permission' for wrting.
>               (3) my Unix System does not have internet connectivity,
so cannot use the module directly from net.
> 
>       Is there anyway installing/using these XML modules without su
permission?
> 

The normal installation procedure can be followed but you will need to
specify a prefix to install into, such as,

perl Makefile.pl PREFIX=/home/jay/perl5lib
make
make test
make install

Then in your scripts you would use,

use lib '/home/jay/perl5lib';

Alternatively,

perldoc FindBin

I assume you know how to download the source tar ball from CPAN over the
web and get it onto the machine yourself.  Note that XML::Simple has at
least one dependency of a base XML module, the same procedure should
work for most of today's modules.  Additionally some XML modules
(including potential dependencies of XML::Simple) rely on the expat c
libraries.  I leave that as an exercise for the reader, though if the
reader gives it an honest go and gets stuck, give us a ring and we will
get it sorted....

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to