Warn the user when Slic3r is being run under 5.16

degen-loop-screen
Alessandro Ranellucci 2012-09-11 16:02:26 +02:00
parent e89f64e9d3
commit d848e2d4c9
1 changed files with 3 additions and 0 deletions

View File

@ -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";