Are you sure ? $self is defined? in threadFuncfunction?
You need to pass the $self in
threads->new(\&threadFunc);In reply to Re: How to get Blessed variables of a Class in the Thread Function in Perl?
by vinoth.ree
in thread How to get Blessed variables of a Class in the Thread Function in Perl?
by PerlRider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |