
Ask::Fallback - backend for unattended scripts

my $ask = Ask::Fallback->new;
$ask->info(text => "I'm Charles Xavier");
if ($ask->question(
text => "Would you like some breakfast?",
default => !!1,
)) {
...
}

This backend prints all output to STDERR; returns defaults for question, file_selection, etc, and croaks if no defaults are available.
This backend is used if the PERL_MM_USE_DEFAULT or AUTOMATED_TESTING environemnt variables are set to true, or as a last resort if no other Ask backend can be used.

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Ask.

Ask.

Toby Inkster <tobyink@cpan.org>.

This software is copyright (c) 2012-2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.