Codebase list libio-prompter-perl / 2e42fe3
Imported Upstream version 0.004009 Salvatore Bonaccorso 10 years ago
4 changed file(s) with 12 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
127127 (thanks, Bas)
128128
129129 * Attempted to mollify cpanm by moving $VERSION declaration
130
131
132 0.004009 Wed Oct 2 21:55:06 2013
133
134 * Further improvements under 5.18
135 (thanks, Gareth)
136
00 --- #YAML:1.0
11 name: IO-Prompter
2 version: 0.004008
2 version: 0.004009
33 abstract: Prompt for input, read it, clean it, return it.
44 author:
55 - Damian Conway <DCONWAY@CPAN.org>
0 IO::Prompter version 0.004008
0 IO::Prompter version 0.004009
11
22 Prompt for, read, vet, chomp, and encapsulate input.
33 Like so:
11 package IO::Prompter;
22
33 use warnings;
4 no if $] >= 5.018000, warnings => 'experimental::smartmatch';
4 no if $] >= 5.018000, warnings => 'experimental';
55 use strict;
66 use Carp;
77 use Contextual::Return;
88 use Scalar::Util qw< openhandle looks_like_number >;
99 use Symbol qw< qualify_to_ref >;
1010
11 our $VERSION = '0.004008';
11 our $VERSION = '0.004009';
1212
1313 my $fake_input; # Flag that we're faking input from the source
1414
16801680
16811681 =head1 VERSION
16821682
1683 This document describes IO::Prompter version 0.004008
1683 This document describes IO::Prompter version 0.004009
16841684
16851685
16861686 =head1 SYNOPSIS