++ed by:
RPAVLOV JGAMBLE

2 PAUSE users
1 non-PAUSE user.

Christian Jaeger
and 1 contributors

NAME

Chj::Util::AskYN

SYNOPSIS

 use Chj::Util::AskYN;

 LP: {
     if (maybe_askyn "Do you want to retry?") {
         redo LP;
     }
 }

DESCRIPTION

Simply ask for a boolean question on stdout/stdin. Accept y/n, yes/no in english, german and french and return those as boolean true/false. If the user closes the input (using ctl-d), undef is returned.

TODO

Delete this and use something else?