Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Edit a New file in place after reading it in

by BillKSmith (Monsignor)
on Dec 21, 2021 at 22:39 UTC ( [id://11139811]=note: print w/replies, xml ) Need Help??


in reply to Edit a New file in place after reading it in

You need a regular expression (perlreref) for the 'PATTERN' in a substitution operator (s/PATTERN/REPLACEMENT/msixpodualngcer). Your single example does not provide enough information for us to offer much help in writing that regex.
Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found