++ed by:
RODRIGO CONO

2 PAUSE user(s)

David Muir Sharnoff

NAME

 Proc::JobQueue::Sequence - do a sequence of background jobs

SYNOPSIS

 use Proc::JobQueue::BackgroundQueue;
 use aliased 'Proc::JobQueue::Sequence';
 use aliased 'Proc::JobQueue::Sort';
 use aliased 'Proc::JobQueue::Move';

 my $queue = new Proc::JobQueue::BackgroundQueue;

 my $job = Sequence->new($opts, $config,
        Sort->new($opts, $config, $sorted_output, @unsorted_files),
        Move->new($opts, $config, $sorted_output, $final_name, $final_host),
 );

 $queue->add($job);

 $queue->finish;

DESCRIPTION

This is a subclass of Proc::JobQueue::Job. In the background, do a sequence of jobs. If a job fails, the jobs later in the sequence are cancelled.

SEE ALSO

Proc::JobQueue Proc::JobQueue::Job Proc::JobQueue::BackgroundQueue Proc::JobQueue::Command Proc::JobQueue::Move Proc::JobQueue::Sort

LICENSE

Copyright (C) 2007-2008 SearchMe, Inc. Copyright (C) 2008-2010 David Sharnoff. Copyright (C) 2011 Google, Inc. This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 licenses.