Perl: the Markov chain saw | |
PerlMonks |
Reading certain lines in a fileby Ras (Acolyte) |
on May 24, 2001 at 18:10 UTC ( [id://82907]=perlquestion: print w/replies, xml ) | Need Help?? |
Ras has asked for the wisdom of the Perl Monks concerning the following question:
Forgive me if this is a stupid question but i want to be able to read certain lines in a file and print it to another file. For example: FILE: blah blah blah blah blah blah couldn't parse line i want to print blah blah blah blah blah blah The files is always in this formate where the line i want is right after the line couldn't parse. Is there anyway in perl to this quickly? Thanks you.
Back to
Seekers of Perl Wisdom
|
|