diff options
| author | Paul Buetow <paul@buetow.org> | 2011-03-17 08:02:27 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-03-17 08:02:27 +0000 |
| commit | c0c2d506b4151a38178321e94276836dde52d169 (patch) | |
| tree | 0e867b0edf54b0950fd7ac05b61d276ad305c458 /lib/RunModule.pm | |
| parent | ee5e8bcb9b436c38f826304d49debf9d770bc877 (diff) | |
./lib and ./conf added.
Diffstat (limited to 'lib/RunModule.pm')
| -rw-r--r-- | lib/RunModule.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/RunModule.pm b/lib/RunModule.pm new file mode 100644 index 0000000..a063faa --- /dev/null +++ b/lib/RunModule.pm @@ -0,0 +1,17 @@ +package RunModule; + +sub new ($$$) { + my ($class, $conf) = @_; + + return bless { conf => $conf }, $class; +} + +sub do ($) { + my $self = shift; + my $conf = $self->{conf}; + my $logger = $conf->{logger}; + + $logger->logmsg('Test'); +} + +1; |
