You are right about the slurp, a typo on my part.
But the indexing will work. The extra number (int @foo) will just be ignored because there won't be a corresponding lvalue.
Ted :->In reply to Re^3: Common Perl Idioms
by Anonymous Monk
in thread Common Perl Idioms
by eric256
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |