Yes, the threads module comes pre-packaged with ActivePerl, and does not appear to exist according to PPM, so it's not upgradable without upgrading ActivePerl, which involves me dealing with company red-tape.
The elusive "is_running.al" shouldn't need to exist outside of the module itself. It's all part of Perl\lib\threads.pm and its associated lib\auto\threads\ library. Additionally, I can't seem to get any of the constants from threads to work. Documentation refers to threads::running and I get a bareword error when I try to use that. See documentation at http://perldoc.perl.org/threads.html >> Hi All, >> >> I'm attempting to use the 'threads' module in ActivePerl 5.8.0 build >> 805. >> Everything seems to work until I attempt to shut the process down >> gracefully. When I call is_running() the whole thing crashes with the >> following output (main thread starts the shutdown after 10 seconds): >> >> Starting Thread Test >> This is the main thread (1) >> This is the child thread (0) >> This is the main thread (2) >> This is the main thread (3) >> This is the child thread (1) >> This is the main thread (4) >> This is the main thread (5) >> This is the child thread (2) >> This is the main thread (6) >> This is the main thread (7) >> This is the child thread (3) >> This is the main thread (8) >> This is the main thread (9) >> This is the child thread (4) >> This is the main thread (10) >> Can't locate auto/threads/is_running.al in @INC (@INC contains: >> C:/Perl/lib C:/P >> erl/site/lib .) at thread_test.pl line 26 >> A thread exited while 2 other threads were still running. >> >> I'm including the module as follows: >> >> use threads; >> use threads::shared; >> use strict; >> >> Any idea why it can't find that function? >> >> - Steve >> > > Have you checked that file actually exists and it's location? Do you > have the latest versions of the modules installed? > > > > Lyle > _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs