Subject: | documentation changes (OOP, Pod::Usage) |
Date: | Tue, 15 Jun 2010 10:22:20 -0400 |
To: | bug-Getopt-Long [...] rt.cpan.org |
From: | val <valkoles [...] gmail.com> |
Object oriented interface
$p = new Getopt::Long::Parser;
can be changed to
$p = Getopt::Long::Parser -> new;
for following the best practices.
Getopt::Long encourages the use of Pod::Usage to produce help
messages. For example:
pod2usage(-exitstatus => 0, -verbose => 2) if $man;
but pod2usage doesn't have parameter named '-exitstatus'. There should
be '-exitval' instead.
Thanks for the great module.