in reply to Re^3: Monitor list of threads running
in thread Monitor list of threads running

I did something similar: and I get this message. <bolckquote> Can't locate auto/threads/is_running.al in...
foreach my $test (@all_threads) { if( $test->is_running() ) { print "Running: $test\n"; } }

Replies are listed 'Best First'.
Re^5: Monitor list of threads running
by BrowserUk (Patriarch) on Apr 08, 2010 at 20:01 UTC

    Which version of threads are you using?

      usethreads=define use5005threads=undef useithreads=define

        That's not the version of the threads module. You can find that version number by typing at the command prompt:

        perl -Mthreads -e "die $threads::VERSION"

        On my machine, this outputs:

        1.73 at -e line 1.

        ... which means that I have version 1.73 of threads installed.