If you want a single element, use the arrow notation. If you want a slice, use the slice notation. That's the way it works.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^3: Is this a bug, or expected behavior?
by merlyn
in thread Is this a bug, or expected behavior?
by fizbin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |