| 1 | package Bio::Phylo::Matrices::Datatype::Custom; | ||
| 2 | use strict; | ||
| 3 | use base 'Bio::Phylo::Matrices::Datatype'; | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Bio::Phylo::Matrices::Datatype::Custom - Validator subclass, | ||
| 8 | no serviceable parts inside | ||
| 9 | |||
| 10 | =head1 DESCRIPTION | ||
| 11 | |||
| 12 | The Bio::Phylo::Matrices::Datatype::* classes are used to validated data | ||
| 13 | contained by L<Bio::Phylo::Matrices::Matrix> and L<Bio::Phylo::Matrices::Datum> | ||
| 14 | objects. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | # podinherit_insert_token | ||
| 19 | |||
| 20 | =head1 SEE ALSO | ||
| 21 | |||
| 22 | There is a mailing list at L<https://groups.google.com/forum/#!forum/bio-phylo> | ||
| 23 | for any user or developer questions and discussions. | ||
| 24 | |||
| 25 | =over | ||
| 26 | |||
| 27 | =item L<Bio::Phylo::Matrices::Datatype> | ||
| 28 | |||
| 29 | This class subclasses L<Bio::Phylo::Matrices::Datatype>. | ||
| 30 | |||
| 31 | =item L<Bio::Phylo::Manual> | ||
| 32 | |||
| 33 | Also see the manual: L<Bio::Phylo::Manual> and L<http://rutgervos.blogspot.com>. | ||
| 34 | |||
| 35 | =back | ||
| 36 | |||
| 37 | =head1 CITATION | ||
| 38 | |||
| 39 | If you use Bio::Phylo in published research, please cite it: | ||
| 40 | |||
| 41 | B<Rutger A Vos>, B<Jason Caravas>, B<Klaas Hartmann>, B<Mark A Jensen> | ||
| 42 | and B<Chase Miller>, 2011. Bio::Phylo - phyloinformatic analysis using Perl. | ||
| 43 | I<BMC Bioinformatics> B<12>:63. | ||
| 44 | L<http://dx.doi.org/10.1186/1471-2105-12-63> | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | sub _new { | ||
| 49 | my $class = shift; | ||
| 50 | my $self = shift; | ||
| 51 | my %args = @_; | ||
| 52 | die if not $args{'-lookup'}; | ||
| 53 | bless $self, $class; | ||
| 54 | $self->set_lookup( $args{'-lookup'} ); | ||
| 55 | return $self; | ||
| 56 | } | ||
| 57 | 1; |