Sport::Analytics::NHL::Usage - an internal utility module standardizing the usage of our applications.
convert_opt
A small routine converting the CLI option with dashes into a snake-case string
Arguments: the option text Returns: the converted string
usage
Produces a usage message and exits
Arguments: [optional] exit status, defaults to 0 Returns: exits
gopts
This is the main wrapper for GetOptions to keep things coherent.
Arguments: usage message arrayref of options, by tags or specific opts arrayref of arguments [optional] arrayref of explicitly excluded options Returns: a list of options to which convert_opt() was applied. Don't ask me why.
parse_start_stop_opts
Produces a start and end range of seasons or season weeks based on options specified.
Arguments: specified options [optional] type of range, defaults to 'season' Returns: the range between the start and the stop option, default applies.
More Hockey Stats, <contact at morehockeystats.com>
<contact at morehockeystats.com>
Please report any bugs or feature requests to contact at morehockeystats.com, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sport::Analytics::NHL::Usage. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
contact at morehockeystats.com
You can find documentation for this module with the perldoc command.
perldoc Sport::Analytics::NHL::Usage
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Sport::Analytics::NHL::Usage
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Sport::Analytics::NHL::Usage
CPAN Ratings
https://cpanratings.perl.org/d/Sport::Analytics::NHL::Usage
Search CPAN
https://metacpan.org/release/Sport::Analytics::NHL::Usage
To install Sport::Analytics::NHL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sport::Analytics::NHL
CPAN shell
perl -MCPAN -e shell install Sport::Analytics::NHL
For more information on module installation, please visit the detailed CPAN module installation guide.