Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Contextual find and replace large config file

by haukex (Archbishop)
on Jan 03, 2019 at 12:40 UTC ( [id://1227979]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MData::Dump -e 'dd split /($)/m, "x\ny\nz"'
    ("x", "", "\ny", "", "\nz")
    $ perl -MData::Dump -e 'dd split /(\z|\n)/m, "x\ny\nz"'
    ("x", "\n", "y", "\n", "z")
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-24 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found