FreeBSD.software
Home/devel/p5-IO-Prompter

p5-IO-Prompter

0.005002devel

Prompt for input, read it, clean it, return it

IO::Prompter exports a single subroutine, prompt, that prints a prompt (but only if the program's selected input and output streams are connected to a terminal), then reads some input, then chomps it, and finally returns an object representing that text.

$pkg install p5-IO-Prompter
metacpan.org/release/IO-Prompter
Origin
devel/p5-IO-Prompter
Size
152KiB
License
not specified
Maintainer
zi@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)