Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: XML::Parser installation

by artist (Parson)
on Nov 28, 2001 at 01:40 UTC ( [id://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..
Thanks..
Artist

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-19 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found