Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: XML::Parser installation

by artist (Parson)
on Nov 28, 2001 at 01:40 UTC ( #127926=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Merging XML
in thread Merging XML

I need perl for the same as this is going to be automatic.
I successfully installed XML::Parser using PREFIX=~
When I am trying to install other modules, it looks for @INC as defined by the system and cannot find the modules I just installed. How do I change that..

Replies are listed 'Best First'.
Re: Re: XML::Parser installation
by ChemBoy (Priest) on Nov 28, 2001 at 09:21 UTC

    You can do this on a per-script basis using use lib, as Fastolfe suggests, or you can set the environmental variable PERL5LIB to the desired directory, and it will be set for all your scripts (do it in your .login or .tcshrc file to keep from having to reset it every time, obviously).

    If God had meant us to fly, he would *never* have given us the railroads.
        --Michael Flanders

Re: Re: XML::Parser installation
by Fastolfe (Vicar) on Nov 28, 2001 at 03:04 UTC
    use lib '/some/other/dir';

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://127926]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-08-19 08:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found