Martin Atkins > Util-Task-0.01_1 > Util::Task::Multi

Download:
Util-Task-0.01_1.tar.gz

Dependencies

Annotate this POD

Source  

NAME ^

Util::Task::Multi - A special task that actually runs multiple tasks

SYNOPSIS ^

    my $task = Util::Task::Multi->new();
    $task->add_subtask(task1 => Util::Task::Something->new());
    $task->add_subtask(task2 => Util::Task::SomethingElse->new());
    $task->execute();

DESCRIPTION ^

This task subclass allows multiple atomic tasks to be run as a single task, coalescing them in the most efficient way possible.

syntax highlighting: