| 1 |
IO::Prompt version 0.997004 |
| 2 |
|
| 3 |
By default, this module exports a single function: prompt(). It prompts the |
| 4 |
user to enter some input, and returns an object that represents the user input. |
| 5 |
|
| 6 |
You may specify various flags to the function to affect its behaviour; most |
| 7 |
notably, it defaults to automatically chomp the input, unless the -line |
| 8 |
flag is specified. |
| 9 |
|
| 10 |
Note that this is an interim re-release. A full release with better |
| 11 |
documentation will follow in the near future. Meanwhile, please consult |
| 12 |
the 'examples/' directory from this module's CPAN distribution to better |
| 13 |
understand how to make use of this module. |
| 14 |
|
| 15 |
|
| 16 |
INSTALLATION |
| 17 |
|
| 18 |
To install this module, run the following commands: |
| 19 |
|
| 20 |
perl Makefile.PL |
| 21 |
make |
| 22 |
make test |
| 23 |
make install |
| 24 |
|
| 25 |
|
| 26 |
Alternatively, to install with Module::Build, you can use the following commands: |
| 27 |
|
| 28 |
perl Build.PL |
| 29 |
./Build |
| 30 |
./Build test |
| 31 |
./Build install |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
DEPENDENCIES |
| 36 |
|
| 37 |
None. |
| 38 |
|
| 39 |
|
| 40 |
COPYRIGHT AND LICENCE |
| 41 |
|
| 42 |
Copyright (C) 2005, Damian Conway |
| 43 |
|
| 44 |
This library is free software; you can redistribute it and/or modify |
| 45 |
it under the same terms as Perl itself. |