Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: CPAN shell - passing params for module installation

by Hofmator (Curate)
on Jan 18, 2007 at 09:38 UTC ( #595205=note: print w/ replies, xml ) Need Help??


in reply to Re^2: CPAN shell - passing params for module installation
in thread CPAN shell - passing params for module installation

Shouldn't putting them all on one line work? Like

o conf makepl_arg LIB=/path/to/my/distros/perllib PREFIX=--perl_only

Update: Or edit ~/.cpan/CPAN/MyConfig.pm directly and set the things you need from there.

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.


Comment on Re^3: CPAN shell - passing params for module installation
Select or Download Code
Re^4: CPAN shell - passing params for module installation
by skazat (Hermit) on Jan 27, 2007 at 10:24 UTC

    Shouldn't putting them all on one line work? Like

    o conf makepl_arg LIB=/path/to/my/distros/perllib PREFIX=--perl_only

    Usually, everything but the last configuration gets dropped. Usually.

    Update: Or edit ~/.cpan/CPAN/MyConfig.pm directly and set the things you need from there. I'm changing the configuration while in the CPAN shell to download CPAN modules to a specific location, so I can then add the modules to a distro. Basically.

     

    -justin simoni
    skazat me

Re^4: CPAN shell - passing params for module installation
by Anonymous Monk on Jan 09, 2008 at 16:58 UTC
    This works, as long as you put single quotes around the whole makepl_arg value:
    o conf makepl_arg 'LIB=/path/to/my/distros/perllib PREFIX=--perl_only'
    Otherwise, only one of the values is used.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-10-02 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls