Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl search and replace

by wind (Priest)
on May 19, 2011 at 22:27 UTC ( [id://905823]=note: print w/replies, xml ) Need Help??


in reply to Perl search and replace

perl -pi -e 's/^(?=Defaults\s+(?:env_reset|requiretty))/#/'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-03-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found