bueller.ca

the digital workshop of Matt Ferris

‹ API

getrule()

hashref getrule ()

Example 1

ontoken('T_ACTION_ACCEPT', sub {

    # the accept token
    my $token = shift;

    # the position of the token in the rule
    my $tpos = shift;

    $rule = getrule();

});

See also

newrule()

‹ API