http://www.perlmonks.org?node_id=431311


in reply to Re: multi-line in-place edits
in thread multi-line in-place edits

I provided a simplified example to get the multi-line edit syntax worked out.

I was attempting to do some code refactoring with in-place editing, when due to failing memory I replaced all the \n's with a upper ascii char. I managed to get that fixed, and just needed the correct syntax for multi line edits.

-l0666 is so close to the -0777 that I really needed I think perl should have just known I was doing the wrong thing and Done the Right Thing ;) /joke