|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Tied hashes: multiple parameters to STORE()?by ikegami (Pope) |
| on Aug 22, 2008 at 18:36 UTC ( #706270=note: print w/ replies, xml ) | Need Help?? |
|
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||