Getopt::Euclid Code
Status: Beta
Brought to you by:
floflooo
| File | Date | Author | Commit |
|---|---|---|---|
| lib | 2010-10-05 |
|
[2446e8] Revert - master conains only tags. |
| t | 2010-10-05 |
|
[2446e8] Revert - master conains only tags. |
| Build.PL | 2010-09-09 |
|
[aec161] Importing Getopt::Euclid 0.2.1 |
| Changes | 2010-10-05 |
|
[2446e8] Revert - master conains only tags. |
| MANIFEST.SKIP | 2010-09-09 |
|
[6471b1] Removed files that can be autogenerated by buil... |
| Makefile.PL | 2010-09-09 |
|
[aec161] Importing Getopt::Euclid 0.2.1 |
| README | 2010-10-05 |
|
[2446e8] Revert - master conains only tags. |
Getopt::Euclid version 0.2.0
Getopt::Euclid uses your program's own documentation to create a com-
mand-line argument parser. This ensures that your program's documented
interface and its actual interface always agree.
To use the module, you simply write:
use Getopt::Euclid;
at the top of your program.
When the module is loaded within a regular Perl program, it will:
1. locate any POD in the same file,
2. extract information from that POD, most especially
from the "=head1 REQUIRED ARGUMENTS" and "=head1
OPTIONS" sections,
3. build a parser that parses the arguments and options the
POD specifies,
4. parse the contents of @ARGV using that parser, and
5. put the results in the global %ARGV variable.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
Alternatively, to install with Module::Build, you can use the following commands:
perl Build.PL
./Build
./Build test
./Build install
DEPENDENCIES
File::Spec::Functions
List::Util
COPYRIGHT AND LICENCE
Copyright (C) 2005, Damian Conway
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.