From 9cb6dc768fe187b0324927b5ec787307f36477cd Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 24 Dec 2014 00:19:20 +0100 Subject: [PATCH] Limit the Perl version warning to 5.16, as 5.18 seems to work fine --- lib/Slic3r.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 76b810a87..516eb2996 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -26,8 +26,8 @@ BEGIN { $have_threads = 0 if $Moo::VERSION == 1.003000; } -warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n" - if $^V >= v5.16; +warn "Running Slic3r under Perl 5.16 is not supported nor recommended\n" + if $^V == v5.16; use FindBin; our $var = "$FindBin::Bin/var";