|
NAMEAcme::MetaSyntactic::MultiList - Base class for themes with multiple lists SYNOPSIS package Acme::MetaSyntactic::digits;
use Acme::MetaSyntactic::MultiList;
our @ISA = ( Acme::MetaSyntactic::MultiList );
__PACKAGE__->init();
1;
=head1 NAME
Acme::MetaSyntactic::digits - The numbers theme
=head1 DESCRIPTION
You can count on this module. Almost.
=cut
__DATA__
# default
:all
# names primes even
two
# names primes odd
three five seven
# names composites even
four six eight
# names composites odd
nine
# names other
zero one
DESCRIPTION"Acme::MetaSyntactic::MultiList" is the base class for all themes that are meant to return a random excerpt from a predefined list divided in categories. The category is selected at construction time from:
Categories and sub-categories are separated by a "/" character. METHODSAcme::MetaSyntactic::MultiList offers several methods, so that the subclasses are easy to write (see full example in SYNOPSIS):
AUTHORPhilippe 'BooK' Bruhat, "<book@cpan.org>" COPYRIGHT & LICENSECopyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|