longer.pl - a longer example file using Getopt::Alt
longer.pl --help longer.pl [-t | --test] [--inc num |-inum] [--str str | -s str] OPTION: -t --test Test mode -i --inc=numb Pass in a number -s --str=str Pass in a string -v --verbose Out put dump of Getopt::Alt object use twice for more details --help Should display this message and is defined in Getopt::Alt itself --man Should display the whole POD documentation --VERSION Should show this script's verion number
To install Getopt::Alt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Getopt::Alt
CPAN shell
perl -MCPAN -e shell install Getopt::Alt
For more information on module installation, please visit the detailed CPAN module installation guide.