| Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
# You wouldn't normally create these manually;
# instead they would be produced by Bio::SearchIO::fasta
use Bio::Search::Hit::Fasta; my $hit = Bio::Search::Hit::Fasta->new(id=>'LBL_6321', desc=>'lipoprotein', e_val=>0.01);
| _initialize | Description | Code |
| AUTOLOAD | Description | Code |
| _initialize | code | next | Top |
Function: where the heavy stuff will happen when new is called |
| AUTOLOAD | code | prev | next | Top |
Function: Provide getter/setters for ID,DESC,SIZE,INITN,INIT1,OPT,ZSC,E_VAL |
| _initialize | description | prev | next | Top |
my($self, %args) = @_; my $make = $self->SUPER::_initialize(%args); while (my ($key, $val) = each %args) { $key = '_' . uc($key); $self->$key($val); } return $make; # success - we hope!}
| AUTOLOAD | description | prev | next | Top |
my ($self, $val) = @_; $AUTOLOAD =~ s/.*:://; if ( $AUTOLOAD_OK{$AUTOLOAD} ) { $self->{$AUTOLOAD} = $val if defined $val; return $self->{$AUTOLOAD}; } else { $self->throw("Unallowed accessor: $AUTOLOAD !"); }}
| SEE ALSO | Top |
| FEEDBACK | Top |
| Mailing Lists | Top |
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
| Reporting Bugs | Top |
http://bugzilla.open-bio.org/
| AUTHOR - Aaron Mackey | Top |
| APPENDIX | Top |