in reply to How to Optionally enable threads in Perl 5.10.0
use MyJunk;
package MyJunk; if( $] > 5.008008 ){ require MyJunk::threads; } else { require MyJunk::nothreads; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Optionally enable threads in Perl 5.10.0
by DrWhy (Chaplain) on Aug 09, 2010 at 18:18 UTC |