mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
1cb5613b26
Instead of declaring the options in a hash with references to the variables and subroutines affected by the options, you can use the Getopt attribute on the variables and subroutines directly. As you can see from the Synopsis, the attribute takes an argument of the same format as you would give as the hash key for Getopt::Long. See the Getopt::Long manpage for details. WWW: http://search.cpan.org/dist/Getopt-Attribute/ PR: ports/152631 Submitted by: Gea-Suan Lin <gslin at gslin.org>
11 lines
488 B
Plaintext
11 lines
488 B
Plaintext
This module provides an attribute wrapper around Getopt::Long.
|
|
Instead of declaring the options in a hash with references to the
|
|
variables and subroutines affected by the options, you can use the
|
|
Getopt attribute on the variables and subroutines directly.
|
|
|
|
As you can see from the Synopsis, the attribute takes an argument of
|
|
the same format as you would give as the hash key for Getopt::Long.
|
|
See the Getopt::Long manpage for details.
|
|
|
|
WWW: http://search.cpan.org/dist/Getopt-Attribute/
|