Anyone know how to make this voodoo happen?sub findandreplace{ my($string,$find,$replace); $string=~s/$find/$replace/g; $string; }
In reply to Having scalars handled as regexs inside a substitution by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |