Bio::Tools::Primer::Assessor Base
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Summary
Bio::Tools::Primer::Assessor::Base - base class for common assessor things
Package variables
No package variables defined.
Included modules
Bio::Root::Root
Inherit
Bio::Root::Root
Synopsis
    use Bio::Tools::Primer::Assessor::Base

    $base->weight(10);
Description
Base class for assessors, probably only defining the weight function
Methods
new
No description
Code
weight
No description
Code
Methods description
None available.
Methods code
newdescriptionprevnextTop
sub new {
    my ( $caller, @args) = @_;   
    my ($self) = $caller->SUPER::new(@args); 

    my ($weight) = $self->_rearrange([qw(WEIGHT)],@args);

    if( !defined $weight ) {
	$weight = 10;
    }

    $self->weight($weight);

    # done - we hope
return $self;
}
weightdescriptionprevnextTop
sub weight {
    my $self   = shift;
    my $weight = shift;

    if( defined $weight ) {
	$self->{'weight'} = $weight;
    }

    return $self->{'weight'};
}
General documentation
FEEDBACKTop
Mailing ListsTop
User feedback is an integral part of the evolution of this and other
Bioperl modules. Send your comments and suggestions preferably to
the Bioperl mailing list. Your participation is much appreciated.
  bioperl-l@bioperl.org              - General discussion
  http://bioperl.org/MailList.shtml  - About the mailing lists
Reporting BugsTop
Report bugs to the Bioperl bug tracking system to help us keep track
of the bugs and their resolution. Bug reports can be submitted via
email or the web:
  bioperl-bugs@bioperl.org
  http://bugzilla.bioperl.org/
AUTHOR - Ewan BirneyTop
Email birney@ebi.ac.uk
Describe contact details here
CONTRIBUTORSTop
Additional contributors names and emails here
APPENDIXTop
The rest of the documentation details each of the object methods.
Internal methods are usually preceded with a _