Ask
view release on metacpan or search on metacpan
articles/ask-introduction.pod view on Meta::CPAN
100101102103104105106107108109110111112113114115116117118119120
say
"Adding $_"
for
@answers
;
Or
if
you just wish them to choose a single option from a list:
my
$existance
= single_choice(
"To be, or not to be; that is the question."
,
choices
=> [
[
be
=>
"Be"
],
[
not_be
=>
"Don't be"
],
],
);
Ask also
has
functions
for
file selection, text entry (including hidden
text - passwords) and displaying information, warnings and errors.
=head2 I object!
If you object to using the functional interface, you can get an object
using the C<< Ask->detect >> method and call C<question>,
( run in 1.169 second using v1.01-cache-2.11-cpan-26ccb49234f )