Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Keeping the first occurence of a pattern, and removing the other occurences

by johngg (Canon)
on Aug 04, 2011 at 16:55 UTC ( [id://918592]=note: print w/replies, xml ) Need Help??


in reply to Keeping the first occurence of a pattern, and removing the other occurences

Bear in mind that the "^L" that you are seeing is probably a text representation of a form feed control character so you might need to change your input record separator to something like "\cL", IIRC.

Cheers,

JohnGG

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-03-28 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found