53 |
}, |
}, |
54 |
} |
} |
55 |
|
|
56 |
|
C<filter> will be assigned to C<$WebPAC::Input::Test::filter> |
57 |
|
|
58 |
=cut |
=cut |
59 |
|
|
60 |
|
our $filter; |
61 |
|
|
62 |
sub new { |
sub new { |
63 |
my $class = shift; |
my $class = shift; |
64 |
my $self = {@_}; |
my $self = {@_}; |
66 |
|
|
67 |
my $arg = {@_}; |
my $arg = {@_}; |
68 |
|
|
69 |
|
$filter = $arg->{filter}; |
70 |
|
|
71 |
$self->_get_logger()->info("mocking Test database with args = ", dump($arg)); |
$self->_get_logger()->info("mocking Test database with args = ", dump($arg)); |
72 |
|
|
73 |
$self ? return $self : return undef; |
$self ? return $self : return undef; |
80 |
my $rec = $isis->fetch_rec( $mfn ); |
my $rec = $isis->fetch_rec( $mfn ); |
81 |
|
|
82 |
Second argument, C<filter_coderef> will be assigned to |
Second argument, C<filter_coderef> will be assigned to |
83 |
C<WebPAC::Input::Test::filer_coderef>. |
C<$WebPAC::Input::Test::filer_coderef> |
84 |
|
|
85 |
=cut |
=cut |
86 |
|
|