From 36796645cbcb2b3d7d5f7a6eb817979d0adc5c5c Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci <aar@cpan.org> Date: Tue, 11 Sep 2012 16:02:26 +0200 Subject: [PATCH] Warn the user when Slic3r is being run under 5.16 --- lib/Slic3r.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 746176f26..f6bd643c4 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -21,6 +21,9 @@ BEGIN { $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1"; } +warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n" + if $^V >= v5.16; + use FindBin; our $var = "$FindBin::Bin/var";