NAME
Bio::GMOD::Update - Generics methods for updating a Bio::GMOD installation
SYNOPSIS
# Update your Bio::GMOD installation
use Bio::GMOD::Update;
my $mod = Bio::GMOD::Update->new(-mod => 'WormBase');
$mod->update(-version => 'WS136');
DESCRIPTION
Bio::GMOD::Update contains subroutines that simplify the maintenance of a Bio::GMOD installation.
PUBLIC METHODS
- $mod = Bio::GMOD::Update->new()
-
The generic new() method is provided by Bio::GMOD.pm. new() provides the ability to override system installation paths. If you have a default installation for your MOD of interest, this should not be necessary. You will not normally interact with Bio::GMOD::Update objects, but instead with Bio::GMOD::Update::"MOD" objects.
See Bio::GMOD.pm and Bio::GMOD::Adaptor::* for a full description of all default paths for your MOD of interest.
- $mod->update(@options)
-
update() is a wrapper method overriden by Bio::GMOD::Update::"MOD" update(). The update() method should return an array of all components installed as well as have the package variable "status" set.
- $mod->cleanup()
-
Delete the contents of the temporary directory following an update. See Bio::GMOD::Update::* for how this method might affect you!
- $self->prepare_tmp_dir
-
Prepare the temporary directory for downloading.
- $self->mirror(@options);
-
Generic mirroring of files or directories (recursively)
BUGS
None reported.
SEE ALSO
Bio::GMOD, Bio::GMOD::Util::CheckVersions
AUTHOR
Todd W. Harris <harris@cshl.edu>.
Copyright (c) 2003-2005 Cold Spring Harbor Laboratory.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.