Mailing List Archive

BUG: Operation .= not understood by tied hashes
I log that as a bug, but it's really an enhancement request...

It appears:

$cache{value} .= "whatever";

is not understood properly by tied arrays. Same probably goes for
all <op>= operators...

That's too bad because it means you cannot transparently make a
hash a tied one to create a DBM database out of it, from an existing
program...

I understand why this is happening... Maybe we could use the
overload mechanism to provide a fully transparent tie?

Raphael
Re: BUG: Operation .= not understood by tied hashes [ In reply to ]
: It appears:
:
: $cache{value} .= "whatever";
:
: is not understood properly by tied arrays.

This should work okay in 5.002beta1.

Larry