NAME

 Proc::JobQueue::Sort - sort files in the background

SYNOPSIS

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

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

 my $job = Sort->new($opts, $config, "/dest/file", "/input/file1", "/input/file2");

 $queue->add($job);

 $queue->finish;

DESCRIPTION

This is a subclass of Proc::JobQueue::Job. In the background, sort the input files into the output. using the unix sort(1) command.

The $opts parameter is not used but must be a hash reference. The $config parameter must be a hash reference and the following key is supported:

unix_sort_memory_buffer

This will be used to create a --buffer-size argument to the unix sort command.

SEE ALSO

Proc::JobQueue Proc::JobQueue::Job Proc::JobQueue::BackgroundQueue Proc::JobQueue::Move Proc::JobQueue::Command Proc::JobQueue::Sequence

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 license.