In order for the "e" qualifier to do a proper job, the entire rhs (replacement portion) of the regex needs to be an executable perl statement -- not just a string with an embedded subroutine call.
In reply to Re: Executing a function within a regex
by graff
in thread Executing a function within a regex
by wolis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |