NAME
Authen::PAAS::ConsoleCallback - blah
SYNOPSIS
use Authen::PAAS::ConsoleCallback;
my $callback = Authen::PAAS::ConsoleCallback->new("Enter username: ");
my $username = $callback->data;
DESCRIPTION
This provides a callback which prompts for data on STDOUT, and reads a response from STDIN.
METHODS
my $callback = Authen::PAAS::ConsoleCallback->new($label);
Create a new console callback, using the $label
parameter as the prompt to display on STDOUT.
my $data = $callback->data;
Displays a prompt on STDOUT (flushing buffers, in case the prompt did not contain a newline). A response is then read from STDIN, with any leading or trailing whitespace is trimmed, before the data is returned
AUTHORS
Daniel Berrange <dan@berrange.com>
COPYRIGHT
Copyright (C) 2004-2005 Daniel Berrange
SEE ALSO
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 43:
You can't have =items (as at line 58) unless the first thing after the =over is an =item
- Around line 104:
=back doesn't take any parameters, but you said =back 4