If you want multiple Enters, you can give the `yes` command a parameter of '' empty string.
yes ''|cpanIf you want just one Enter — as `cpan` only requires the first one to begin automatically deciding on the remainder of the prompts, you can just pipe in an `echo`.
echo|cpanAlternatively, if you feed an empty pipe in, that also seems to work.
cpan < /dev/nullIn reply to Re: How to configure CPAN automatically?
by Anonymous Monk
in thread How to configure CPAN automatically?
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |