Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: cpan> o conf settings

by Steve_BZ (Hermit)
on Sep 07, 2011 at 00:36 UTC ( #924491=note: print w/ replies, xml ) Need Help??


in reply to Re: cpan> o conf settings
in thread cpan> o conf settings

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.

Regards

Steve


Comment on Re^2: cpan> o conf settings
Download Code
Re^3: cpan> o conf settings
by ikegami (Pope) on Sep 07, 2011 at 02:29 UTC

    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 :)

      Regards

      Steve

        If you're not changing the configuration file, then you should be getting an error message

        If you are changing the configuration file, then you need to do it only once

        If you are changing it but you need to do it every time, then somebody else is also changing it after you change it

        I suggest you figure it out :)

        I have to sit there and hit <enter> all day

        No, you don't. You said you use o conf commit and that nothing changes the settings back, so o conf build_requires_install_policy yes and o conf prerequisites_policy follow are no-ops after the first time.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-07-26 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls