Perl: the Markov chain saw | |
PerlMonks |
Re: Remove newlines and join linesby hotshot (Prior) |
on Aug 28, 2002 at 13:50 UTC ( [id://193454]=note: print w/replies, xml ) | Need Help?? |
just read the file to an array, then loop on the array. while the line don't match your names, push it to a new array, when the line matches your name push it too to the new array and skip the empty line.
Hotshot
In Section
Seekers of Perl Wisdom
|
|