mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
I fail out if my perl isn't threaded. This makes me pass cpan testers' tests
This commit is contained in:
parent
290e1eab5a
commit
1b3fdaa96e
@ -5,10 +5,20 @@ use Getopt::Long;
|
||||
use Time::HiRes qw( usleep );
|
||||
use IO::Handle;
|
||||
use List::MoreUtils qw( first_index );
|
||||
use Text::ParseWords;
|
||||
|
||||
use Config;
|
||||
if (! $Config{'useithreads'})
|
||||
{
|
||||
say "I require a threaded perl";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
use threads;
|
||||
use threads::shared;
|
||||
use Thread::Queue;
|
||||
use Text::ParseWords;
|
||||
|
||||
|
||||
|
||||
our $VERSION = '1.05';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user