P is for Practical | |
PerlMonks |
Re: Reading a file and working only on certain linesby wjw (Priest) |
on Nov 11, 2014 at 19:15 UTC ( [id://1106873]=note: print w/replies, xml ) | Need Help?? |
A bit more info would be helpful. Read How do I Post a Question Effectively or Your problem statement breaks down as follows from my perspective:
If the file is not too large, you might consider reading it into and array(ex. my @lines) ... and always remember to: Hope that is helpful... ...the majority is always wrong, and always the last to know about it... Insanity: Doing the same thing over and over again and expecting different results... A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is simply an inconvenient fact
In Section
Seekers of Perl Wisdom
|
|