Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to get Blessed variables of a Class in the Thread Function in Perl?

by vinoth.ree (Prior)
on Jan 10, 2013 at 06:52 UTC ( #1012601=note: print w/ replies, xml ) Need Help??


in reply to How to get Blessed variables of a Class in the Thread Function in Perl?

Hi,

Are you sure ? $self is defined? in threadFunc function?

You need to pass the $self in

threads->new(\&threadFunc);


Comment on Re: How to get Blessed variables of a Class in the Thread Function in Perl?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012601]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-07-31 05:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls