no_germs has asked for the wisdom of the Perl Monks concerning the following question:
the line causes an error:$t=new Thread(\&checkTest);
why? Thread.pm exists, and it's other methods work (some break because they call Thread::new and that again outputs the same error). and what's "&threads"...?Undefined subroutine &threads::new called at betterAbTest.pl line 16.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Thread::new causes Undefined subroutine &threads::new
by marto (Cardinal) on May 31, 2007 at 08:20 UTC | |
|
Re: Thread::new causes Undefined subroutine &threads::new
by ysth (Canon) on May 31, 2007 at 09:28 UTC | |
|
Re: Thread::new causes Undefined subroutine &threads::new
by blazar (Canon) on May 31, 2007 at 08:31 UTC | |
|
Re: Thread::new causes Undefined subroutine &threads::new
by chrism01 (Friar) on May 31, 2007 at 23:50 UTC |