could be written as: $text =~ tr/[|]/{,}/;for ($text) { s/\[/{/g; s/\]/}/g; s/\|/,/g; }
-- Hofmator
In reply to Re: Re: strings with options - how do I do this?
by Hofmator
in thread strings with options - how do I do this?
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |