| 1 | package Games::ABC_Path::Generator::Constants; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | Games::ABC_Path::Generator::Constants - constants in use by the generator. | ||
| 9 | B<FOR INTERNAL USE!>. | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | 1 | our $VERSION = '0.1.0'; | |
| 14 | |||
| 15 | =head1 VERSION | ||
| 16 | |||
| 17 | Version 0.1.0 | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | |||
| 22 | 1 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 1 | our $LEN = 5; | |
| 25 | 1 | our $BOARD_SIZE = $LEN * $LEN; | |
| 26 | 1 | our $Y = 0; | |
| 27 | 1 | our $X = 1; | |
| 28 | 1 | our @letters = ('A' .. 'Y'); | |
| 29 | 1 | our $NUM_CLUES = (2+$LEN+$LEN); | |
| 30 | |||
| 31 | 1 | our @EXPORT = | |
| 32 | ( | ||
| 33 | qw($X $Y $NUM_CLUES @letters $LEN $BOARD_SIZE) | ||
| 34 | ); | ||
| 35 | |||
| 36 | 1 | 1; | |
| 37 | =head1 AUTHOR | ||
| 38 | |||
| 39 | Shlomi Fish, L<http://www.shlomifish.org/> . | ||
| 40 | |||
| 41 | =head1 BUGS | ||
| 42 | |||
| 43 | Please report any bugs or feature requests to C<bug-games-abc_path-generator at rt.cpan.org>, or through | ||
| 44 | the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-ABC_Path-Generator>. I will be notified, and then you'll | ||
| 45 | automatically be notified of progress on your bug as I make changes. | ||
| 46 | |||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | =head1 SUPPORT | ||
| 51 | |||
| 52 | You can find documentation for this module with the perldoc command. | ||
| 53 | |||
| 54 | perldoc Games::ABC_Path::Generator::Constants | ||
| 55 | |||
| 56 | You can also look for information at: | ||
| 57 | |||
| 58 | =over 4 | ||
| 59 | |||
| 60 | =item * RT: CPAN's request tracker (report bugs here) | ||
| 61 | |||
| 62 | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-ABC_Path-Generator> | ||
| 63 | |||
| 64 | =item * AnnoCPAN: Annotated CPAN documentation | ||
| 65 | |||
| 66 | L<http://annocpan.org/dist/Games-ABC_Path-Generator> | ||
| 67 | |||
| 68 | =item * CPAN Ratings | ||
| 69 | |||
| 70 | L<http://cpanratings.perl.org/d/Games-ABC_Path-Generator> | ||
| 71 | |||
| 72 | =item * Search CPAN | ||
| 73 | |||
| 74 | L<http://search.cpan.org/dist/Games-ABC_Path-Generator/> | ||
| 75 | |||
| 76 | =back | ||
| 77 | |||
| 78 | |||
| 79 | =head1 ACKNOWLEDGEMENTS | ||
| 80 | |||
| 81 | |||
| 82 | =head1 LICENSE AND COPYRIGHT | ||
| 83 | |||
| 84 | Copyright 2011 Shlomi Fish. | ||
| 85 | |||
| 86 | This program is distributed under the MIT (X11) License: | ||
| 87 | L<http://www.opensource.org/licenses/mit-license.php> | ||
| 88 | |||
| 89 | Permission is hereby granted, free of charge, to any person | ||
| 90 | obtaining a copy of this software and associated documentation | ||
| 91 | files (the "Software"), to deal in the Software without | ||
| 92 | restriction, including without limitation the rights to use, | ||
| 93 | copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 94 | copies of the Software, and to permit persons to whom the | ||
| 95 | Software is furnished to do so, subject to the following | ||
| 96 | conditions: | ||
| 97 | |||
| 98 | The above copyright notice and this permission notice shall be | ||
| 99 | included in all copies or substantial portions of the Software. | ||
| 100 | |||
| 101 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 102 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 103 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 104 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 105 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 106 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 107 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 108 | OTHER DEALINGS IN THE SOFTWARE. | ||
| 109 | |||
| 110 | |||
| 111 | =cut | ||
| 112 | |||
| 113 | 1 | 1; # End of Games::ABC_Path::Generator::Constants | |