May 26, 2018
Attribute wrapper for Getopt::Long
This module provides an attribute wrapper around GetoptLong. 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 GetoptLong. See the GetoptLong manpage for details.