3 # Test a regexp against a file (message)
12 my $rfh = FileHandle->new($refile, 'r')|| croak;
14 grep(s/\s*\#.*$//, @relines);
16 my $repat = join('', @relines);
17 my $re = qr{$repat}ix;
19 my $infh = FileHandle->new($infile, 'r')|| croak;
20 my $in = join('', <$infh>);
23 print "no " unless ($in =~ /$re/);