in reply to Active State Perl 5.6.1 build 626 Trashes hashes.
you assigned $x a string, which is, well, not a hash reference, as pointed out in other posts.my $x= {}; # reference to empty hash
If you were thinking "empty" but just getting the syntax wrong, use {} where you had "".
|
|---|