in reply to $^I why this symbol does not work ?
sub replace { local $^I = ''; local @ARGV = ($para); while(<>) { s/UI_EM/$newpar/g; print; } }
(Untested)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $^I why this symbol does not work ?
by kingwrcy (Initiate) on Oct 01, 2008 at 06:31 UTC | |
by ikegami (Patriarch) on Oct 01, 2008 at 06:36 UTC | |
by moritz (Cardinal) on Oct 01, 2008 at 06:43 UTC |