The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

    Pake::FileTask

SYNOPSIS

    use Pake::FileTask;
    $file_task = Pake::FileTask->new($code,$name,$dependency_array_ref);
    $file_task->invoke();

Description

File task, executes if the file with the same name does not exists, or is out of date with dependencies

Methods

Overview of overriden methods in the FileTask object

needed
    Needed if the specified file does not exists or dependencies are out of date
timestamp
    Returns file timestamp