It sounds like what you really want is a new config option. The "cpan" script is just a pass-through to CPAN::Shell.
I suggest posting your request to the CPAN.pm RT queue -- Andreas (and others like me) monitor it and it keeps the backlog of bugs and feature requests in one place. I'm a little curious to understand why this is an important feature for you, though. Are you giving a list of things to install in some particular order to manage dependencies? David On Feb 11, 2008 3:32 PM, Andrew Hampe <[EMAIL PROTECTED]> wrote: > > volks, > > The Basic CPAN concern: --bail_on_fail flag (2008.02.10 ) > > Problem description: > when a cpan session is looking for more than one distribution/module > there needs to be a way to 'flag' that the session must fail and stop > if there is an error loading any distribution, or a sub component > required module. > > Current Behavior: > given a list, a cpan session, will note and move on to the next > distribution to be installed. > > Desrired Behavior: > running a cpan session, with the flag set, will cause the session to > note the error and > not go any further. > > Is there anyone working on such a flag? > > Would a Patch Be Acceptable? > > > a.f.hampe > >