Nigel Hamilton > Goo-0.09 > Goo::Prompter

Download:
Goo-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

Goo::Prompter - Prompt the user for info.

SYNOPSIS ^

use Goo::Prompter;

DESCRIPTION ^

METHODS ^

pick_command

pick a command from a list

pick_some

pick more than one answer to a question

pick_one

pick one from the list?

confirm

yes or no? - default to "y"es

insist

ask a question and insist on an answer

ask

ask a question

keep_asking

keep asking the same question

say

say something like in Perl6

show_title

say something on a green background! - this is The Goo!

stop

say something and then stop

clear

clear the screen

yell

say something loudly!!!

highlight_options

take a string and highlight any options you find

trace

print a trace message as a debugging aid

dump

use Data::Dumper to show the contents of a variable

prompt

prompt for something loudly!!!

notify

say something and pause for a while

get_key

return a single keystroke

ask_with_completion

ask with tab completion - <cntrl d> shows a list of possible alternatives

get_response

return a response

ask_for_key

prompt for a single key

AUTHOR ^

Nigel Hamilton <nigel@trexy.com>

SEE ALSO ^