[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] In-Place Editing? -i and $^I



Is there a way to do in-place editing in MacPerl?  (Opening a file, making
changes & saving the new version.)  The kind of thing that you accomplish
with the -i flag, or the $^I special variable...

I had about 30 html files that needed the same changes.  I wanted to make a
droplet but gave up.  I ended up FTP'ing the mess to a Unix machine and did
the whole job with a one-line command.

It worked, but I felt guilty.

Don't make me do it again.

--Shawn



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch