I agree with perrin. The goal of tying is to provide the syntax of the variable to an object. It doesn't allow the creation of new syntaxes.
Besides, the desired syntax ($hash{$key} = @array;) already has a very clear meaning: store the length of the array in the hash at the specified key.
In reply to Re: Tied hashes: multiple parameters to STORE()?
by ikegami
in thread Tied hashes: multiple parameters to STORE()?
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |