This is quite a nice technique. It's worth pointing out though, that it has a side-effect of dismantling @array, so you should make a copy of @array first if you were planning on using the array again.
In reply to Re^2: Array indexing and string manipulation
by tobyink
in thread Array indexing and string manipulation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |