cghost23 has asked for the wisdom of the Perl Monks concerning the following question:
and change_name()'s return value is the altered text. thanks in advance, moewhile (<FILENAME>) { s/(?<!\\)\$[a-zA-Z0-9_]+/change_name($&)/ge; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: substition problem
by Masem (Monsignor) on Apr 21, 2001 at 17:55 UTC | |
|
(ar0n) Re: substition problem
by ar0n (Priest) on Apr 21, 2001 at 17:56 UTC |