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