Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

PPM installed Path

by kulls (Hermit)
on Sep 14, 2006 at 11:04 UTC ( [id://572905]=perlquestion: print w/replies, xml ) Need Help??

kulls has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Greetings,
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.
Thanks
-kulls

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
    No
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.

    CU
    Robartes-

      Hi,
      I want to set the PERL5LIB path in the apache itself and more over I run multiple perl projects ...so portablity is high in that case.since I just copy only that particular folder and happly carried out anywhere without any dependencies !!!
      -kulls
        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.

        jdtoronto

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-25 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found