Wouldn't say it's pretty, but it solves the issue at hand (being: to provide a quick internal utility to patch some 100+ SOAP envelopes for automated testing of a webservice).$replace = qq["$replace"]; $content =~ s/$find/eval $replace/es;
In reply to Re^2: s/// in a sub : passing expressions
by ady
in thread s/// in a sub : passing expressions
by ady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |