I think you're after something like this:
@important_fields = (split /\|/, $string)[25..50];
In reply to Re^3: Is there any way to make an array non-greedy?
by duff
in thread Is there any way to make an array non-greedy?
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |