in reply to Re^2: Shared variables between threads
in thread Shared variables between threads
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Shared variables between threads
by Saladino (Beadle) on Nov 05, 2007 at 10:36 UTC | |
by BrowserUk (Patriarch) on Nov 05, 2007 at 11:00 UTC | |
by Saladino (Beadle) on Nov 05, 2007 at 11:19 UTC | |
by BrowserUk (Patriarch) on Nov 05, 2007 at 12:05 UTC | |
by Saladino (Beadle) on Nov 05, 2007 at 12:19 UTC | |
|