| Included libraries | Package variables | General documentation | Methods |
| WebCvs | Raw content |
| DESTROY | No description | Code |
| add_to_perl5lib | No description | Code |
| change_blastdb | No description | Code |
| new | No description | Code |
| old_blastdb | No description | Code |
| old_perl5lib | No description | Code |
| return_environment | No description | Code |
| DESTROY | description | prev | next | Top |
my ($self) = @_; $self->return_environment; } 1;}
| add_to_perl5lib | description | prev | next | Top |
my ($self, $addition) = @_; my $perl5lib = $ENV{'PERL5LIB'}; $self->old_perl5lib($perl5lib); $addition .= ':'.$perl5lib; $ENV{'PERL5LIB'} = $addition; return $addition;}
| change_blastdb | description | prev | next | Top |
my ($self, $blastdb) = @_; $self->old_blastdb($ENV{'BLASTDB'}); $ENV{'BLASTDB'} = $blastdb; return $blastdb; } # methods for resetting PERL5LIB and BLASTDB to original state}
# after running test
| new | description | prev | next | Top |
my ($class) = @_; my $self = bless {}, $class; return $self; } #containers}
# store info about "old" PERL5LIB to "return_environment" later
| old_blastdb | description | prev | next | Top |
my $self = shift; $self->{'old_blastdb'} = shift if(@_); return $self->{'old_blastdb'}; } # methods to alter PERL5LIB and BLASTDB}
| old_perl5lib | description | prev | next | Top |
my $self = shift; $self->{'old_perl5lib'} = shift if(@_); return $self->{'old_perl5lib'}; } # store info about "old" BLASTDB for "return_environment" later}
| return_environment | description | prev | next | Top |
my ($self) = @_; $ENV{'PERL5LIB'} = $self->old_perl5lib; $ENV{'BLASTDB'} = $self->old_blastdb;}