Message-ID: <
20020701045814.GB1805@eh.org>
p4raw-id: //depot/perl@17387
... create some threads ...
$hash{a} = 1; # all threads see exists($hash{a}) and $hash{a} == 1
- $hash{a} = $var # okay - copy-by-value: same affect as previous
- $hash{a} = $svar # okay - copy-by-value: same affect as previous
+ $hash{a} = $var # okay - copy-by-value: same effect as previous
+ $hash{a} = $svar # okay - copy-by-value: same effect as previous
$hash{a} = \$svar # okay - a reference to a shared variable
$hash{a} = \$var # This will die
delete $hash{a} # okay - all threads will see !exists($hash{a})