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

PPM installed Path

by kulls (Hermit)
on Sep 14, 2006 at 11:04 UTC ( #572905=perlquestion: print w/replies, xml ) Need Help??
kulls has asked for the wisdom of the Perl Monks concerning the following question:

I have installed perl modules in my Winxp machine using PPM.I just wanted to know Is there any settings in the PPM so that it will install the modules in the separate folders instead of perl\lib and perl\site default perl locations.

Replies are listed 'Best First'.
Re: PPM installed Path
by randyk (Parson) on Sep 14, 2006 at 14:49 UTC
    In ppm4, which is included in the latest ActivePerl release (build 819), you can set up and install to areas other than C:\Perl and C:\Perl\site; from the docs:
    PPM allows for the addition of new install areas, which is useful for shared ActivePerl installations where the user does not have write permissions for the site and perl areas. New install areas are added by simply setting up new library directories for perl to search, and PPM will set up install areas to match. The easiest way to add library directories for perl is to specify them in the PERL5LIB environment variable, see the perlrun manpage for details. PPM will create etc, bin, html directories as needed when installing packages.
Re: PPM installed Path
by greatshots (Pilgrim) on Sep 14, 2006 at 11:28 UTC

    I don't find any such settings in ppm.

Re: PPM installed Path
by jdtoronto (Prior) on Sep 14, 2006 at 11:30 UTC
Re: PPM installed Path
by robartes (Priest) on Sep 14, 2006 at 11:41 UTC
    Not to sound flippant or anything (I'm genuinely interested) -- why would you want to do this? It would involve either sprinkling copious amounts of use lib around, or working with a horrendeously long @INC.


      I want to set the PERL5LIB path in the apache itself and more over I run multiple perl projects portablity is high in that case.since I just copy only that particular folder and happly carried out anywhere without any dependencies !!!
        I still fail to see the logic. Why does Apache have any interest in the PERL5LIB or @INC?

        I run multiple projects also, but they all work from a common base set of modules plus their own use lib for custom modules.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://572905]
Approved by robartes
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-06-23 10:13 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.