26 |
my $db = WebPAC::Input->new( |
my $db = WebPAC::Input->new( |
27 |
format => 'NULL', |
format => 'NULL', |
28 |
config => $config, |
config => $config, |
29 |
|
lookup => $lookup_obj, |
30 |
); |
); |
31 |
|
|
32 |
$db->open('/path/to/database'); |
$db->open('/path/to/database'); |
44 |
|
|
45 |
my $db = new WebPAC::Input( format => 'NULL' ); |
my $db = new WebPAC::Input( format => 'NULL' ); |
46 |
|
|
|
This function will load needed wrapper module and |
|
|
|
|
47 |
=cut |
=cut |
48 |
|
|
49 |
sub new { |
sub new { |
54 |
$self ? return $self : return undef; |
$self ? return $self : return undef; |
55 |
} |
} |
56 |
|
|
|
=head2 open |
|
|
|
|
|
=cut |
|
|
|
|
|
sub open { |
|
|
} |
|
|
|
|
|
=head2 function2 |
|
|
|
|
|
=cut |
|
|
|
|
|
sub function2 { |
|
|
} |
|
|
|
|
|
|
|
|
|
|
57 |
=head1 MEMORY USAGE |
=head1 MEMORY USAGE |
58 |
|
|
59 |
C<low_mem> options is double-edged sword. If enabled, WebPAC |
C<low_mem> options is double-edged sword. If enabled, WebPAC |