At 04:03 AM 7/23/02 +1000, Ken Williams wrote: >> return unless ref($_[0]); >I usually just call UNIVERSAL::isa($_[0], 'your::class::name') in these cases.
That's a good tip. I actually generalized this to: return unless UNIVERSAL::isa( $_[0],__PACKAGE__ ); This will be implemented in Thread::Pool 0.17... ;-) Liz