Slay::MakerRule - a class for making things with dependancies
use strict ; use Slay::MakerRule ; $t1 = Slay::MakerRule->new( \@target, ## Filenames made by \@actions \@dependencies, ## Files or Slay::MakerRule objects \@actions, ## Command lines or sub{} ) ;
Any or all of the three parameters may be scalars if there is only one thing to pass:
$t1 = Slay::MakerRule->new( $target, $dependency, $action, ) ;
Builds the queue of things to make if this target or it's dependencies are out of date.
Executes the action(s) associated with this rule.
returns either ( target1, target2, ... ) or "target1, target2, ..." depending on context.
Checks the target list to see if it matches the target passed in.
To install Slay::Maker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Slay::Maker
CPAN shell
perl -MCPAN -e shell install Slay::Maker
For more information on module installation, please visit the detailed CPAN module installation guide.