gugod/App-perlbrew — Issue #161: patchperl override prompt ignored
Author: l0b0
Created: 2011-11-15 12:15:49+00:00
State: open

When running

export PERLBREW_ROOT=//perl5
rm -r "$PERLBREW_ROOT"
curl -kL http://xrl.us/perlbrewinstall | bash

, the script prompts

//perl5/bin/patchperl already exists, are you sure to override ? [y/N] [N]

but the prompt is dismissed immediately, probably because standard input is linked to `curl` rather than the terminal. I would expect that any such prompt during installation would be interactive.

If I save the `curl` output to file and run that, it prompts for an answer.