The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Daiku::Task - phony task

DESCRIPTION

This is a .PHONY task object.

ATTRIBUTES

dst:Str

Destination task name.

deps:ArrayRef[Str]

Dependency task names.

code:CodeRef

Callback function.

desc:Str

Description of this task.

METHODS

my $task = Daiku::Task->new(%args);

Create a new instance of Daiku::Task. Specify above attributes in %args.

$task->build();

Build the target.

Return Value: The number of built jobs.

my $clone = $task->clone();

Create and return a clone of this $task.