diff --git a/lynis_report.pl b/lynis_report.pl index 4cdcc19..9794a7b 100755 --- a/lynis_report.pl +++ b/lynis_report.pl @@ -3,7 +3,7 @@ use strict; use warnings; use feature qw( switch ); -no warnings "experimental::smartmatch"; +#if ($] ge '5.018000') { no warnings "experimental::smartmatch"; } use Term::ANSIColor; use Getopt::Long qw( :config no_ignore_case bundling ); use Data::Dumper; @@ -115,7 +115,7 @@ print OUT <