Warn the user when Slic3r is being run under 5.16

This commit is contained in:
Alessandro Ranellucci 2012-09-11 16:02:26 +02:00
parent 628cc52338
commit 36796645cb

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