summaryrefslogtreecommitdiff
path: root/lib/PerlDaemon/RunModule.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-05-13 14:08:40 +0000
committerPaul Buetow <paul@buetow.org>2011-05-13 14:08:40 +0000
commit2085476afe46f49c08b5a66b9b2201383096696c (patch)
treed5464c6ce0f5dba83bf3b43d3a7680fc7b39ede7 /lib/PerlDaemon/RunModule.pm
parent0dc9ad829a674d935c5cca95fa5fea660dd368d6 (diff)
re-moved modules into PerlDaemon::
Diffstat (limited to 'lib/PerlDaemon/RunModule.pm')
-rw-r--r--lib/PerlDaemon/RunModule.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/PerlDaemon/RunModule.pm b/lib/PerlDaemon/RunModule.pm
new file mode 100644
index 0000000..4f2c492
--- /dev/null
+++ b/lib/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;