you have to create the variable as shared using the shared attribute, in the form of
my $CurrentTagList : shared = TagList->new();
Also within the Taglist class you have to use threads::shared's bless function so blessing propagates across all threads
In reply to Re: Accessing class data from a second thread
by bluescreen
in thread Accessing class data from a second thread
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |