I think that you're taking the wrong approach here. I think that you should try to address this as your $values string is constructed, rather than trying to fix it right at the last minute.
Two approaches that I can think of:
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: string manipulations with regular expressions
by davorg
in thread string manipulations with regular expressions
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |