| 1 | #=============================================================================== | ||
| 2 | # | ||
| 3 | # FILE: Games::Go::AGA::DataObjects | ||
| 4 | # | ||
| 5 | # USAGE: well, not really | ||
| 6 | # | ||
| 7 | # PODNAME: Games::Go::AGA::DataObjects | ||
| 8 | # ABSTRACT: a library of DataObjects for American Go Association (AGA) files | ||
| 9 | # | ||
| 10 | # AUTHOR: Reid Augustin (REID), <reid@hellosix.com> | ||
| 11 | # CREATED: 11/19/2010 03:13:05 PM PST | ||
| 12 | #=============================================================================== | ||
| 13 | |||
| 14 | use 5.008; | ||
| 15 | use strict; | ||
| 16 | use warnings; | ||
| 17 | |||
| 18 | package Games::Go::AGA::DataObjects; | ||
| 19 | |||
| 20 | use Games::Go::AGA::DataObjects::Player; | ||
| 21 | use Games::Go::AGA::DataObjects::Round; | ||
| 22 | |||
| 23 | our $VERSION = '0.152'; # VERSION | ||
| 24 | |||
| 25 | sub import { | ||
| 26 | my ($class, %opts) = @_; | ||
| 27 | |||
| 28 | my $dep_level = $opts{deprecate}; | ||
| 29 | if ($dep_level) { | ||
| 30 | $dep_level = 9999 if ($dep_level eq 'latest'); | ||
| 31 | $Games::Go::AGA::DataObjects::Player::deprecate = $dep_level; | ||
| 32 | $Games::Go::AGA::DataObjects::Round::deprecate = $dep_level; | ||
| 33 | } | ||
| 34 | } | ||
| 35 | |||
| 36 | 1; | ||
| 37 | |||
| 38 | __END__ |