Make::Rule(3)

NAME
Make::Rule - a rule with prerequisites and recipe

SYNOPSIS
    my $rule = Make::Rule->new( $kind, \@prereqs, \@recipe, \@recipe_raw );
    my @name_commands = $rule->Make($target);
    my @deps = @{ $rule->prereqs };
    my @cmds = @{ $rule->recipe };
    my @expanded_cmds = @{ $rule->exp_recipe($target) }; # vars expanded
    my @raw_cmds = @{ $rule->recipe_raw }; # with any \ still on line-ends
    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.