2
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

[apache_logparser] carefully import unavailable module 'File::Tail::Multi

this will allow travis checks again
This commit is contained in:
Lars Kruse 2016-11-25 02:17:41 +01:00
parent fea84ffc20
commit 02f80a35a3

View file

@ -45,7 +45,9 @@ local $debug=0;
my $scan_interval=5; # minutes my $scan_interval=5; # minutes
# perl modules # perl modules
use File::Tail::Multi; # "File:Tail:Multi" disappeared from CPAN (somewhen in 2016) - thus it needs
# to be imported carefully (for travis checks).
eval 'use File::Tail::Multi; 1;' or die 'Please install File::Tail::Multi';
use Storable qw(freeze thaw); use Storable qw(freeze thaw);
use List::Util qw(min max); use List::Util qw(min max);
use IPC::ShareLite ':lock'; use IPC::ShareLite ':lock';