Why not make your straw man ${ ${ $foo->{bar} }{baz} } = 4? A. Because that would be even more stupid.:-) OK, let's try:
Still looks stupid?${ $foo->{bar}{baz} } = 4:
What about:
I guess, also too stupid?@{ $foo->{bar}{baz} }[0, 5] = (3, 4);
Let's try some more:
Stupid?@{ $foo->{bar}{baz} }{ 'John', 'Jane', 'Bill' } = ('Smith') x 3;
If not, then why
becomes stupid? Maybe because you can actually avoid circumfix dereferencing here?${ $foo->{bar} }{baz} = 4;
Why not just $foo->{bar}{baz} = 4; the way 90% of people write it?That's what I'm asking. Why 90% of people try to avoid circumfix when they can?
In reply to Re^16: Experimental features: autoderef vs postfix deref
by Anonymous Monk
in thread Experimental features: autoderef vs postfix deref
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |