in reply to piped AND prompted input

You can open /dev/tty to some new handle for the user responses. open my $tty, '<', '/dev/tty' or die $!;

After Compline,
Zaxo