('a' => 1) is a list, not a hash.
%{{'a' => 1}} is an anonymous hash.
tie(%{{'a' => 1}}, 'class'); seems to work, but it was a simple test.
In reply to Re: Tieing anonymous hashes
by ikegami
in thread Tieing anonymous hashes
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |