We have to build two argument specs.
To populate the %parsed hash: Capture the arguments that the user has passed in, as parsed by the Getopt::Long::GetOptions function. Aliases are converted down to their short options. If a user passes "--proximate", Getopt::Long converts that to "-p" and we store it as "-p".
%parsed
To populate the @raw array: Capture the arguments raw, without having been converted to their short options. If a user passes "--proximate", we store it in @raw as "--proximate".
@raw
To install App::Ack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Ack
CPAN shell
perl -MCPAN -e shell install App::Ack
For more information on module installation, please visit the detailed CPAN module installation guide.