summaryrefslogtreecommitdiff
path: root/PerlDaemon/RunModule.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-03-17 08:10:11 +0000
committerPaul Buetow <paul@buetow.org>2011-03-17 08:10:11 +0000
commit450b84bb62277df46fb9c2e0f745c4868c393ce2 (patch)
tree6fef966b11e238b14f8d910a6f5da47dc655cd6e /PerlDaemon/RunModule.pm
parent6406b729d443d8ea133a4a92495b1256e57a8f4d (diff)
renamed due module name
Diffstat (limited to 'PerlDaemon/RunModule.pm')
-rw-r--r--PerlDaemon/RunModule.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/PerlDaemon/RunModule.pm b/PerlDaemon/RunModule.pm
new file mode 100644
index 0000000..4f2c492
--- /dev/null
+++ b/PerlDaemon/RunModule.pm
@@ -0,0 +1,17 @@
+package PerlDaemon::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;