You can do it like so:
my @lines=<DATA>; print @lines[0..2,-30..-1];
...roboticus
In reply to Re: Print First 3, last 30 lines of input
by roboticus
in thread Print First 3, last 30 lines of input
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |