1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
use strict;
use warnings;
use Config;
if($] == 5.010 && $Config{useithreads})
{
print "\n\n\n";
print " !! ERROR ERROR ERRORS ERROR !!\n";
print "\n";
print "The version of Perl you are using (5.10.0) when compiled\n";
print "with threads is buggy and not supported by the Platypus team.\n";
print "Please take the time to upgraded to a supported version of\n";
print "Perl. Easiest upgrade is probably to 5.10.0 unthreaded, or\n";
print "5.10.1. Better would be to upgrade to 5.32.\n";
print "\n";
print "https://github.com/PerlFFI/FFI-Platypus/issues/271\n";
print "\n";
print " !! ERROR ERROR ERRORS ERROR !!\n";
print "\n\n\n";
exit 2;
}
|