/[cvs]/nfo/perl/libs/Data/Query.pm
ViewVC logotype

Contents of /nfo/perl/libs/Data/Query.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Mon Dec 23 04:23:24 2002 UTC (21 years, 6 months ago) by joko
Branch: MAIN
+ initial check-in

1 ## --------------------------------------------------------------------------------
2 ## $Id$
3 ## --------------------------------------------------------------------------------
4 ## $Log$
5 ## --------------------------------------------------------------------------------
6
7
8 package Data::Query;
9
10 use strict;
11 use warnings;
12
13 use base 'DesignPattern::Object::Logger';
14
15
16 use Data::Dumper;
17
18 use Regexp::Group;
19 use libp qw( mkObject );
20 use Data::Compare::Struct qw( isEmpty );
21
22 # ------------ common perl object constructor ------------
23 sub new {
24 my $invocant = shift;
25 my $class = ref($invocant) || $invocant;
26 my @args = ();
27 @_ && (@args = @_);
28 #$logger->debug( __PACKAGE__ . "->new( @args )" ); # this is not "common"!
29 my $self = { @_ };
30 bless $self, $class;
31 $self->{caller} = caller;
32
33 #print Dumper(caller(2));
34 #exit;
35
36 $self->_init();
37 return $self;
38 }
39
40 sub _init {
41 my $self = shift;
42
43 #print Dumper($self->{options}->getOptions());
44
45 }
46
47 sub getOptions {
48 my $self = shift;
49 return $self->{options}->getOptions();
50 }
51
52 1;

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed