simple.pl - a simple example file using Getopt::Alt
simple.pl --help simple.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
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.