Saturday, March 13, 2010

Better nhlscore grabber

Improved commandline switch. Handles comma separated team names. Though they have to coincide with the name used on yahoo sports for each team(eg. Jersey works while Devils would not). Will probably write in some logic to lookup by short names since the team names won't change anytime soon.

Sample:
./nhlScores.pl -t rangers,jersey,dallas,montreal
NY Rangers:5 Atlanta:2
Pittsburgh:1 New Jersey:3
New Jersey:2 NY Islanders:4
Los Angeles:2 Dallas:1
Boston:2 Montreal:3

No comments:

Post a Comment