刘刊 > pantheon > Pan::Node

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Pan::Node - Applies transforms. Extends Pan::Repo.

SYNOPSIS ^

 use Pan::Node;

 my $node = Pan::Node->new
 (
     conf => '/conf/file',
     path => '/path/file',
     group => 'foo',
 );

 $node->run( log => sub { .. } );

METHODS ^

run( %param )

Launch Pan. Apply transforms. Any addtional parameters to the transforms may be defined in %param. Return 1 on failure, 0 on success.

OBJECTS and BEHAVIORS ^

lock

Pan creates/obtains an advisory lock under the run directory. See Vulcan::ProcLock.

syntax highlighting: