Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Contextual find and replace large config file

by haukex (Bishop)
on Jan 03, 2019 at 12:40 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2021-09-29 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?