in reply to Re: "Updating" files.
in thread "Updating" files.
open ZIP, ">myinfo.txt"; $^I = "myinfo.txt.bak"; while( <> ) { s/^Author:.*/Author: Johnny5/; s/^Phone:.*\n//; print; } close ZIP;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Updating" files.
by zwon (Abbot) on Jan 25, 2009 at 21:17 UTC | |
|
Re^3: "Updating" files.
by roboticus (Chancellor) on Jan 26, 2009 at 16:05 UTC |