From 87e3939bb04256b441f3e3e2e903abf299511719 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 14:39:01 +0200 Subject: Ensure log4perl dependencies are included in use statements https://metacpan.org/pod/Log::Log4perl::FAQ#How-come-PAR-(Perl-Archive-Toolkit)-creates-executables-which-then-can't-find-their-Log::Log4perl-appenders? Signed-off-by: Florian Pritz --- script/borg-restore.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/borg-restore.pl b/script/borg-restore.pl index a6d3b43..aa7117c 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -168,7 +168,9 @@ use Getopt::Long; use Log::Any qw($log); use Log::Any::Adapter; use Log::Log4perl; -use Log::Log4perl::Layout; +use Log::Log4perl::Appender::Screen; +use Log::Log4perl::Appender::ScreenColoredLevels; +use Log::Log4perl::Layout::PatternLayout; use Log::Log4perl::Level; use Pod::Usage; -- cgit v1.2.3-24-g4f1b