in reply to Re: strings with options - how do I do this?
in thread strings with options - how do I do this?
could be written as: $text =~ tr/[|]/{,}/;for ($text) { s/\[/{/g; s/\]/}/g; s/\|/,/g; }
-- Hofmator
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: strings with options - how do I do this?
by blakem (Monsignor) on Feb 27, 2003 at 11:04 UTC | |
by Anonymous Monk on Feb 27, 2003 at 13:32 UTC |