in reply to Re: s/// in a sub : passing expressions
in thread s/// in a sub : passing expressions
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;
|
|---|