Chad Granum > App-PPBuild-0.18 > App::PPBuild::Task::File

Download:
app-ppbuild/App-PPBuild-0.18.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

App::PPBuild::Task::File - A task for PPBuilder.

DESCRIPTION ^

Used for tasks that create a file.

SYNOPSIS ^

    App::PPBuild::Task::File->new(
        name => $name,
        code => $code,
        deps => [ qw/ ...deps... / ],
        flags => { %flags },
    );

METHODS ^

hook_completed()

Use hook_completed to verify a file with the name of the task exists.

ran()

Override ran() to return true (1) if a file with the name of th task exisits.

AUTHOR ^

Chad Granum <exodist7@gmail.com>

COPYRIGHT ^

Copyright 2009 Chad Granum

licensed under the GPL version 3. You should have received a copy of the GNU General Public License along with this. If not, see <http://www.gnu.org/licenses/>.