[Israel.pm] using perl -pi but with s///s

Yossi.Itzkovich at ecitele.com Yossi.Itzkovich at ecitele.com
Sun Apr 10 23:02:36 PDT 2005






Hi

I want to substitute  in a file a multiline text:
s/something/somewhat/gs

How can I do it using perl -pi  ?  (perl -p reads line by line)

Thanks

Yossi




More information about the Perl mailing list