Changes for version 0.102.0 - 2020-05-02
- Improvement in management of aliases so that when an alias value is modified, it also modifies the values for other aliases
- Created an inline class so that the resulting options can be called as method, e.g. my $cl = Getlong::Class->new({ dictionary => $dict }); my $opts = $ct->exec; printf( "Name provided is: %s\n", $opts->name );
- or printf( "Name provided is: %s\n", $opts->{name} );
- Corrected and improved aliases using Tie::Hash, because the perl feature https://metacpan.org/pod/perlref#Assigning-to-References refaliasing is still experimental and using Tie::Hash is more straightforward
- Added the access of the option values as object method, each with their type being an object (string, boolean, date/datetime, number, hash or array reference)
Modules
Extended dictionary version of Getopt::Long
Provides
in lib/Getopt/Class.pm
in lib/Getopt/Class.pm
in lib/Getopt/Class.pm