Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 ( #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
Node Status?
node history
Node Type: note [id://918592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2019-06-27 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (111 votes). Check out past polls.

    Notices?