Archived
1
0
Fork 0

Tiny fixes

This commit is contained in:
Mercier Pierre-Olivier 2013-12-01 04:21:04 +01:00
commit faf03232f4
2 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,6 @@ use open IO => ':utf8';
use open ':std';
use Data::Dumper;
use Email::MIME;
use Exporter 'import';
use POSIX qw(strftime);
use Term::ANSIColor qw(:constants);
@ -71,6 +70,7 @@ sub log
if ($mail_error && $level <= ERROR)
{
require Email::MIME;
require Email::Sender::Simple;
Email::Sender::Simple->import(qw(sendmail));
my $mail = Email::MIME->create(