|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Can't instantiate Thread::Poolby alain_desilets (Beadle) |
| on Sep 20, 2011 at 14:52 UTC ( #926961=perlquestion: print w/ replies, xml ) | Need Help?? |
|
alain_desilets has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to use Thread::Pool, and I am not even able to instantiate it! Here's the code:
which is essentially the first two lines of the Synopsis for the module in the doc: http://search.cpan.org/~micb/ThreadPool-0.1/Pool.pm When I run the code, I get error message: Can't bless non-reference value at C:/Perl/site/lib/Thread/Pool.pm (loaded on demand from offset 2009 for 3872 bytes) line 90. What am I doing wrong? Thx
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||