The stupid question is the question not asked | |
PerlMonks |
Re: Foreach loop help. Start from specific lineby roboticus (Chancellor) |
on Oct 22, 2012 at 13:27 UTC ( [id://1000340]=note: print w/replies, xml ) | Need Help?? |
A cheap & cheezy way you can do it:
Just add the lines between START and END to your program after opening your file. That way, it'll just discard the first $start lines before processing the remainder of the file. As an added bonus, you can also:
This lets you fire off multiple jobs that can run in parallel:
...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|