From 448f62cfe3a4f3c321542e3da738d3f5db7216d4 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Sun, 16 Jan 2011 00:57:08 -0700 Subject: [PATCH] Import strftime() --- src/API/Log.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/API/Log.pm b/src/API/Log.pm index 81cfd87..c1cefb5 100644 --- a/src/API/Log.pm +++ b/src/API/Log.pm @@ -3,6 +3,7 @@ # This program is free software; rights to this code are stated in doc/LICENSE. use strict; use warnings; +use POSIX qw(strftime); use Exporter; use API::Std qw(conf_get); @@ -46,7 +47,11 @@ sub dbug # Log to file. sub alog { + my ($lmsg) = @_; + my @celog = conf_get("expire_logs"); + + return 1; }