summaryrefslogtreecommitdiff
path: root/PerlDaemon/RunModule.pm
diff options
context:
space:
mode:
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;