I agree with everything you say - and would almost certainly have said it too if I had had more time this morning :)
Just one small point. At the point when you switch to using "grep", you lose the tiny optimisation that you get from using "last" in the loop.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re^3: Help in using arrays
by davorg
in thread Help in using arrays
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |