[Pdx-pm] filewise (not linewise) in-place editing?

Randall Hansen randall at sonofhans.net
Thu Oct 21 17:33:26 CDT 2004

On Oct 20, 2004, at 4:22 PM, Randall Hansen wrote:

> i wrote a little script to solve my problem, it resets $/ and sucks 
> the whole file into a variable, munges it, and writes it.  is there a 
> way to do this in a one-liner, similar to the above*?

thanks to everyone who replied.  the perl -0 trick is a new one to me, 
and just what i needed.


More information about the Pdx-pm-list mailing list