5 lines
258 B
Plaintext
5 lines
258 B
Plaintext
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.
|