diff options
author | Vincent Pit <perl@profvince.com> | 2010-12-23 18:03:00 +0100 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2010-12-23 18:03:00 +0100 |
commit | b296285b4ca65486f2c1f6be30234679351f0c2b (patch) | |
tree | 7d111970d21fc5444e8d5aa17ba22b949c449c59 /t/test.pl | |
parent | 50afc8f8e1db17eaed554bcc3f6c964fa9a822d9 (diff) | |
download | perl-b296285b4ca65486f2c1f6be30234679351f0c2b.tar.gz |
Quote 'threads' in test.pl
If unquoted, it may throw a warning when threads.pm can't be loaded.
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -981,7 +981,7 @@ sub watchdog ($;$) # Use a watchdog thread because either 'threads' is loaded, # or fork() failed if (eval 'require threads; 1') { - threads->create(sub { + 'threads'->create(sub { # Load POSIX if available eval { require POSIX; }; |