The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sport::Analytics::NHL::Report::ES - Class for the NHL HTML ES report.

SYNOPSYS

Class for the NHL HTML ES report. Should not be constructed directly, but via Sport::Analytics::NHL::Report (q.v.) As with any other HTML report, there are two types: old (pre-2007) and new (2007 and on). Parsers of them may have something in common but may turn out to be completely different more often than not.

METHODS

get_new_headers

Get the headers of the player tables in the new HTML.

 Arguments: HTML element with the team table
 Returns: the array of headers.
get_old_headers

Get the headers of the player tables in the old HTML.

 Arguments: HTML element with the team table
 Returns: the array of headers.
normalize

Cleaning up and standardizing the parsed data.

 Arguments: none
 Returns: void. Everything is in the $self.
parse

Parse the ES html tree into a boxscore object

 Arguments: none
 Returns: void. Everything is in the $self.
parse_new_team_summary

Parse a team's table in the new HTML.

 Arguments: HTML element with the team table
 Returns: the team hashref.
parse_old_team_summary

Parse a team's table in the old HTML.

 Arguments: HTML element with the team table
 Returns: the team hashref.

AUTHOR

More Hockey Stats, <contact at morehockeystats.com>

BUGS

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::Report::ES. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Sport::Analytics::NHL::Report::ES

You can also look for information at: