blob: d43fafd49ffff80c09cac8b0cfdcbeea63ff9397 (
plain)
1
2
3
4
|
IO::Prompter exports a single subroutine, C<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.
|