[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/linuxaux/opt/perl/lib/5.10.0/Term/ -> UI.pm (summary)

(no description)

File Size: 620 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  allows()

Functions
Functions that are not part of a class:

allows(Finally, you have the option of adding a C<print_me> argument, which issimply printed before the prompt. It's printed to the same file handleas the rest of the questions, so you can use this to keep track of afull session of Q&A with the user, and retrieve it later using theC<< Term::UI->history_as_string >> function.See the C<EXAMPLES> section for samples of how to use this function.=cutsub get_reply {my $term = shift;my %hash = @_;my $tmpl = {default => { default => undef, strict_type => 1 },prompt => { default => '', strict_type => 1, required => 1 },choices => { default => [], strict_type => 1 },multi => { default => 0, allow => [0, 1] },allow => { default => qr/.*/ },print_me => { default => '', strict_type => 1 },};my $args = check( $tmpl, \%hash, $VERBOSE )   X-Ref
No description



Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1