Bio-CIPRES
view release on metacpan or search on metacpan
sub ACTION_deploy {
require CPAN::Uploader;
my $self = shift;
$self->depends_on("dist");
my $tarball = $self->dist_dir() . '.tar.gz';
die "tarball not found"
if (! -e $tarball);
print "Uploading $tarball\n";
CPAN::Uploader->upload_file( $tarball, {
user => $ENV{PAUSE_USER},
password => $ENV{PAUSE_PASS},
} );
}
SUBCLASS
my $builder = $deployer->new(
module_name => 'Bio::CIPRES',
license => 'GPL_3',
lib/Bio/CIPRES.pm view on Meta::CPAN
documentation (not covered here). Returns a L<Bio::CIPRES::Job> object.
Most params are passed as simple key => value pairs of strings based on the
CIPRES tool documentation. B<One important nuance>, however, is in the
handling of input files. If the contents of a input file are to be passed in
as a scalar, they should be provided directly as the scalar value to the
appropriate key:
my $job = $ua->submit_job( 'input.infile_' => $in_contents );
However, if the input file is to be uploaded by filename, it should be passed
as an array reference:
my $job = $ua->submit_job( 'input.infile_' => [$in_filename] );
Failure to understand the difference will result in errors either during job
submission or during the job run.
=item B<list_jobs>
for my $job ( $ua->list_jobs ) {
( run in 1.858 second using v1.01-cache-2.11-cpan-b16cb0d3907 )