RECENT POSTS

P5-io-prompter

May 26, 2018

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

IOPrompter 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.

WWW http//search.cpan.org/dist/IO-Prompter/