Martin Atkins

NAME

Util::Task::Simple - A completely uncoalescable, stupid implementation of Util::Task that just runs a closure.

SYNOPSIS

    my $task = Util::Task::Simple->new(\&some_sub);

DESCRIPTION

This Task implementation is about as stupid as they get, just running a given bit of code with no special magic. Consequently it can't coalesce, and runs all of its tasks sequentially. It also can't be remoted.

It should only be used for quick prototyping, and any uses of it should be replaced with a more sensible Util::Task subclass before long.