Why is it that I can create a regular hash and fill it as follows?
our $HSH();
our %HSH();
$HSH{123}{456} = "foo.xml"; # works fine
..but when I create a shared hash and populate it the same way it fails?
our $HSH2 : shared = ();
our %HSH2 : shared = ();
$HSH2{123}{456} = "foo.xml"; # fails
The error is as follows:
Invalid value for shared scalar at C:\foo.pl line 248.
-P0w3rK!d
Fixed typos at author's req - dvergin 2003-05-20
In reply to Threading: Invalid value for shared scalar by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |