Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Remove newlines and join lines

by hotshot (Prior)
on Aug 28, 2002 at 13:50 UTC ( [id://193454]=note: print w/replies, xml ) Need Help??


in reply to Remove newlines and join lines

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193454]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found