From that it seems that you are receiving a bless scalar reference. Older versions of threads shared did not allow you to assign bless references (objects) to shared variables for technical reasons.
A recent change by jdhedden alleviated this restriction, but (unless you've already done so) you will need to download the latest versions from CPAN to be able to do this:
print $threads::VERSION, $threads::shared::VERSION;; 1.67 1.14
In reply to Re^3: Shared variables between threads
by BrowserUk
in thread Shared variables between threads
by Saladino
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |