in reply to string matching/replacing
One way is to build a string of characters that should be replaced and use it with tr and eval.
Hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: string matching/replacing
by knexus (Hermit) on Sep 06, 2003 at 20:44 UTC |