Andrew Hampe wrote:
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.
Here's an untested shell script that should get you started writing your
own wrapper to Do The Right Thing ...
`for i in $*; do
echo perl -MCPAN -e 'install qw('$i')' \&\&
done; echo CPAN is pleased with you, young apprentice` || echo Oh noes\!
--
David Cantrell | Enforcer, South London Linguistic Massive
"There's a hole in my bucket, dear Liza, dear Liza."
"WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?"