- or download this
ok 1 - +, tied hash
ok 2 - +=, normal hash
# Operation "=": no method found, argument in overloaded package Test
+at /tmp/p line 52.
...
- or download this
'=' => sub { bless [ @{$_[0]} ], 'Test' },
- or download this
use overload
'+' => \&append,
'+=' => \&append,
'=' => => sub { bless [ @{$_[0]} ], 'Test' };