++ed by:

2 non-PAUSE users.

Author image Ed J
and 1 contributors

NAME

Make::Rule - a rule with prerequisites and recipe

SYNOPSIS

    my $rule = Make::Rule->new( $kind, \@prereqs, \@recipe );
    my @name_commands = $rule->Make($target);
    my @deps = @{ $rule->prereqs };
    my @cmds = @{ $rule->recipe };
    my @expanded_cmds = @{ $rule->exp_recipe($target) }; # vars expanded
    my @ood = $rule->out_of_date($target);
    my $vars = $rule->auto_vars($target); # tied hash-ref

DESCRIPTION

Represents a rule. An instance exists for each ':' or '::' rule in the makefile. The recipe and prerequisites are kept here.