then you might like:
$_->[1] >= 15 && last or ++$beg for @data; $_->[1] >= 15 && last or ++$end for reverse @data;
In reply to Re^4: chopping the beginning and end of lines in 2 files
by GrandFather
in thread chopping the beginning and end of lines in 2 files
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |