Changeset 3771 for lang/perl/Games-Go

Show
Ignore:
Timestamp:
12/30/07 02:00:10 (5 years ago)
Author:
junichiro
Message:

lang/perl/Games-Go: Format for module template.

Location:
lang/perl/Games-Go/trunk
Files:
10 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Games-Go/trunk/lib/Games/Go/Play.pm

    r3770 r3771  
    11package Games::Go::Play; 
    22 
     3use warnings; 
    34use strict; 
    4 use warnings; 
     5use Carp; 
    56use YAML::Syck; 
    67use Data::Dumper; 
    78# use Games::Go::Coordinate; 
    89 
    9 our $VERSION = "0.0.1"; 
     10our $VERSION = '0.0.1'; 
    1011our $B_SIZE = 19; 
    1112our $SPACE  = '0'; 
     
    8687sub space { return $SPACE; } 
    8788sub out   { return $OUT; } 
     89 
     901; 
     91__END__ 
     92 
     93=head1 NAME 
     94 
     95Games::Go::Play - [One line description of module's purpose here] 
     96 
     97 
     98=head1 VERSION 
     99 
     100This document describes Games::Go::Play version 0.0.1 
     101 
     102 
     103=head1 SYNOPSIS 
     104 
     105    use Games::Go::Play; 
     106 
     107=for author to fill in: 
     108    Brief code example(s) here showing commonest usage(s). 
     109    This section will be as far as many users bother reading 
     110    so make it as educational and exeplary as possible. 
     111   
     112   
     113=head1 DESCRIPTION 
     114 
     115=for author to fill in: 
     116    Write a full description of the module and its features here. 
     117    Use subsections (=head2, =head3) as appropriate. 
     118 
     119 
     120=head1 INTERFACE  
     121 
     122=for author to fill in: 
     123    Write a separate section listing the public components of the modules 
     124    interface. These normally consist of either subroutines that may be 
     125    exported, or methods that may be called on objects belonging to the 
     126    classes provided by the module. 
     127 
     128 
     129=head1 DIAGNOSTICS 
     130 
     131=for author to fill in: 
     132    List every single error and warning message that the module can 
     133    generate (even the ones that will "never happen"), with a full 
     134    explanation of each problem, one or more likely causes, and any 
     135    suggested remedies. 
     136 
     137=over 
     138 
     139=item C<< Error message here, perhaps with %s placeholders >> 
     140 
     141[Description of error here] 
     142 
     143=item C<< Another error message here >> 
     144 
     145[Description of error here] 
     146 
     147[Et cetera, et cetera] 
     148 
     149=back 
     150 
     151 
     152=head1 CONFIGURATION AND ENVIRONMENT 
     153 
     154=for author to fill in: 
     155    A full explanation of any configuration system(s) used by the 
     156    module, including the names and locations of any configuration 
     157    files, and the meaning of any environment variables or properties 
     158    that can be set. These descriptions must also include details of any 
     159    configuration language used. 
     160   
     161Games::Go::Play requires no configuration files or environment variables. 
     162 
     163 
     164=head1 DEPENDENCIES 
     165 
     166=for author to fill in: 
     167    A list of all the other modules that this module relies upon, 
     168    including any restrictions on versions, and an indication whether 
     169    the module is part of the standard Perl distribution, part of the 
     170    module's distribution, or must be installed separately. ] 
     171 
     172None. 
     173 
     174 
     175=head1 INCOMPATIBILITIES 
     176 
     177=for author to fill in: 
     178    A list of any modules that this module cannot be used in conjunction 
     179    with. This may be due to name conflicts in the interface, or 
     180    competition for system or program resources, or due to internal 
     181    limitations of Perl (for example, many modules that use source code 
     182    filters are mutually incompatible). 
     183 
     184None reported. 
     185 
     186 
     187=head1 BUGS AND LIMITATIONS 
     188 
     189=for author to fill in: 
     190    A list of known problems with the module, together with some 
     191    indication Whether they are likely to be fixed in an upcoming 
     192    release. Also a list of restrictions on the features the module 
     193    does provide: data types that cannot be handled, performance issues 
     194    and the circumstances in which they may arise, practical 
     195    limitations on the size of data sets, special cases that are not 
     196    (yet) handled, etc. 
     197 
     198No bugs have been reported. 
     199 
     200Please report any bugs or feature requests to 
     201C<bug-games-go-play@rt.cpan.org>, or through the web interface at 
     202L<http://rt.cpan.org>. 
     203 
     204 
     205=head1 AUTHOR 
     206 
     207Junichiro Tobe  C<< <junichiro.tobe@gmail.com> >> 
     208 
     209 
     210=head1 LICENCE AND COPYRIGHT 
     211 
     212Copyright (c) 2007, Junichiro Tobe C<< <junichiro.tobe@gmail.com> >>. All rights reserved. 
     213 
     214This module is free software; you can redistribute it and/or 
     215modify it under the same terms as Perl itself. See L<perlartistic>. 
     216 
     217 
     218=head1 DISCLAIMER OF WARRANTY 
     219 
     220BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 
     221FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 
     222OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 
     223PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 
     224EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     225WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 
     226ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH 
     227YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 
     228NECESSARY SERVICING, REPAIR, OR CORRECTION. 
     229 
     230IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 
     231WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 
     232REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE 
     233LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, 
     234OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE 
     235THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 
     236RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 
     237FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 
     238SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 
     239SUCH DAMAGES.