return ($ok);
}
+use threads;
+
BEGIN {
+ eval {
+ require threads::shared;
+ import threads::shared;
+ };
+ if ($@ || ! $threads::shared::threads_shared) {
+ print("1..0 # Skip: threads::shared not available\n");
+ exit(0);
+ }
+
$| = 1;
print("1..12\n"); ### Number of tests that will be run ###
};
-use threads;
-use threads::shared;
ok(1, 1, 'Loaded');
### Start of Testing ###