| 1 |
|
| 2 |
AppConfig::Std |
| 3 |
|
| 4 |
AppConfig::Std is a subclass of Andy Wardley's AppConfig module, |
| 5 |
to provide standard command-line arguments for tool scripts. |
| 6 |
|
| 7 |
AppConfig is a Perl5 module to handle global configuration variables |
| 8 |
for perl programs. AppConfig::Std provides the following switches: |
| 9 |
|
| 10 |
-help display a short help statement |
| 11 |
-doc display the full documentation (formatted pod) |
| 12 |
-version display the version of the script |
| 13 |
-verbose turn on verbose status/progress output |
| 14 |
-debug turn on debugging output |
| 15 |
|
| 16 |
The module is a subclass of AppConfig, and uses Brad Appleton's |
| 17 |
Pod::Usage module to implement the -help and -doc switches. |
| 18 |
|
| 19 |
To install this module, you should just have to run the following: |
| 20 |
|
| 21 |
% perl Makefile.PL |
| 22 |
% make |
| 23 |
% make test |
| 24 |
% make install |
| 25 |
|
| 26 |
I'd be happy to hear of any suggestions for improving this module. |
| 27 |
|
| 28 |
Neil Bowers <[email protected]> |