Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: cpan> o conf settings

by ikegami (Pope)
on Sep 06, 2011 at 22:50 UTC ( #924482=note: print w/ replies, xml ) Need Help??

in reply to cpan> o conf settings

o conf commit makes the changes permanent, so I'm assuming something else is changing these settings and also using o conf commit?

perl -MCPAN -E' CPAN::Shell->o("conf", "build_requires_install_policy", "yes"); CPAN::Shell->o("conf", "prerequisites_policy", "follow"); CPAN::Shell->o("conf", "commit"); '

Comment on Re: cpan> o conf settings
Select or Download Code
Replies are listed 'Best First'.
Re^2: cpan> o conf settings
by Steve_BZ (Chaplain) on Sep 07, 2011 at 00:36 UTC

    Hi Ikegami,

    Thanks for your post.

    I don't think anything else changes the settings, but I always use the form:

    $ cpan -i My::Mod

    So it comes in and out of cpan. This makes it easier for me to maintain the code. In fact I should probably turn it into a single Perl script, so I can standardise the error handling, and resume from the point of any crashes.

    Thanks again.



      I don't think anything else changes the settings,

      Then you don't need to run any of the commands you specified. o conf commit specifically instructs cpan to remember the changes you made.

        Hi Ikegami,

        Then you don't need to run any of the commands you specified

        Well if I don't run:

        cpan> o conf build_requires_install_policy yes cpan> o conf prerequisites_policy follow

        I have to sit there and hit <enter> all day, unless you have an alternative answer :)



Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-11-25 23:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls