Getopt::Long::Descriptive claims to be similar to Getopt::Long but with the addition of an automatically-generated usage message. However, for example, whereas with Getopt::Long, I can do something like
GetOptions ("verbose" => \my $verbose)
and have my program use -v as an option:
with Getopt::Long::Descriptive, the short options don't occur unless I specify them. This may be a good thing or a bad thing, but either way it isn't the same thing as Getopt::Long, or even an extension of the same thing. Also, it is quite handy in short scripts to be able to send a reference like the \my $verbose above, which Getopt::Long::Descriptive doesn't support.
It would be great to have an automatic way to generate usage messages which was also compatible with Getopt::Long, but this isn't it. After evaluating this module I decided to stick with using Getopt::Long and here-documents for usage messages.
Was this review helpful to you? Yes No
Once you got the idea and usage of this module, its very simple to use and a real time-saver.
The documentation has been improved recently. As far as I have seen, it is now clear, how to start using this module.
Thanks a lot!
2 out of 2 found this review helpful. Was this review helpful to you? Yes No
After using Getopt::Long::Descriptive, Getopt::Long is like using a very complicated set of s/// expressions to replace printf. GLD is the new hotness.
4 out of 4 found this review helpful. Was this review helpful to you? Yes No