File Coverage

blib/lib/Text/Query/Solve.pm
Criterion Covered Total %
statement 9 13 69.2
branch n/a
condition n/a
subroutine 3 5 60.0
pod 2 4 50.0
total 14 22 63.6


line stmt bran cond sub pod time code
1             #
2             # Copyright (C) 1999 Eric Bohlman, Loic Dachary
3             #
4             # This program is free software; you can redistribute it and/or modify it
5             # under the terms of the GNU General Public License as published by the
6             # Free Software Foundation; either version 2, or (at your option) any
7             # later version. You may also use, redistribute and/or modify it
8             # under the terms of the Artistic License supplied with your Perl
9             # distribution
10             #
11             # This program is distributed in the hope that it will be useful,
12             # but WITHOUT ANY WARRANTY; without even the implied warranty of
13             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14             # GNU General Public License for more details.
15             #
16             # You should have received a copy of the GNU General Public License
17             # along with this program; if not, write to the Free Software
18             # Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19              
20             package Text::Query::Solve;
21              
22 2     2   11 use strict;
  2         4  
  2         328  
23              
24             sub new {
25 6     6 0 14 my $class=shift;
26 6         13 my $self={};
27 6         15 bless $self,$class;
28              
29 6         22 $self->initialize();
30              
31 6         19 return $self;
32             }
33              
34 1     1 0 2 sub initialize {
35             }
36              
37             sub match {
38 0     0 1   my($self, $expr) = shift;
39              
40 0           croak("not implemented");
41             }
42              
43             sub matchscalar {
44 0     0 1   my($self, $expr) = shift;
45              
46 0           croak("not implemented");
47             }
48              
49             1;
50              
51             __END__