NAME

Vulcan::Grep - Evaluate input according to supplied rules

SYNOPSIS

use Vulcan::Grep;

my $grep = Vulcan::Grep->new( input => \@lines, rule => \@rules );
my @match = $grep->eval();

METHODS

eval()

Return matched input. In list context return array of matched input. In scalar context return array reference of matchecd input, if any, undef otherwise.