The value of a line such as:
is 1. Obviously. But the reason it's one is not because $x is now set to 1. It's because the RHS is 1. Thus, if I do this:$x = 1;
This too is 1. Not @x.$x[0] = 1;
Hope this helps.
In reply to Re^5: hash slice ? No thanks, I'm about to return...
by Tanktalus
in thread hash slice ? No thanks, I'm about to return...
by leriksen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |