I have a perl script that I've developed that runs on hosts that have different versions of perl, sometimes compiled with threads and sometimes without.

I have a 

```
use if $Config{"useithreads"}, "threads";

```

And all of my thread-specific code is in similar conditionals.

However, during the compile phase, perl still chokes on threads::all, threads::running, etc.

How can I unsure my script runs on both threaded and non-threaded perls?

```
 [ worr on worr-mn1 ] ( manage_usr_local_admin ) % perl -c acct_mgr_ng.pl
Bareword "threads::joinable" not allowed while "strict subs" in use at acct_mgr_ng.pl line 117.
BEGIN not safe after errors--compilation aborted at acct_mgr_ng.pl line 541.

```