Getopt-Yath
view release on metacpan or search on metacpan
lib/Getopt/Yath/Tutorial.pm view on Meta::CPAN
# -j4 --jobs 4 --jobs=4 -j 4
=head2 alt and alt_no
Alternate long names for the option:
option use_stream => (
type => 'Bool',
alt => ['stream'], # --stream also works
alt_no => ['TAP'], # --TAP is equivalent to --no-use-stream
description => 'Use streaming format instead of TAP',
);
=head2 prefix
Adds a prefix to the option name. Especially useful in option groups:
option_group {group => 'db', category => 'Database', prefix => 'db'} => sub {
option host => (
type => 'Scalar',
( run in 1.423 second using v1.01-cache-2.11-cpan-140bd7fdf52 )