in reply to Re^2: refering to 1 shared hash from another
in thread refering to 1 shared hash from another
Version is: This is perl, v5.10.0 built for x86_64-linux-thread-multi However, removing the use Thread gives the correct results...use strict ; use warnings; use Thread; use threads::shared; use Carp qw (cluck) ; my %all_shary_for_subs :shared; my %sim_info :shared; $all_shary_for_subs{'%sim_info'}=\%sim_info; cluck("the sim_info glob ref is:" . \%sim_info . "\n" ); cluck("And in the hash it is:" . $all_shary_for_subs{'%sim_info'} . "\ +n" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: refering to 1 shared hash from another
by Random_Walk (Prior) on Apr 24, 2013 at 12:46 UTC | |
|
Re^4: refering to 1 shared hash from another
by Random_Walk (Prior) on Apr 24, 2013 at 12:26 UTC |