> PHP has a function in which the replacement of an RE match can be
> handled by the name of a given function. Does Perl have something
> similar? Should be. After all PHP calls these lots the PCRE functions.
>
> In other words, I want to do this:
>
> ===
>
PHP has a function in which the replacement of an RE match can be
handled by the name of a given function. Does Perl have something
similar? Should be. After all PHP calls these lots the PCRE functions.
In other words, I want to do this:
===
while(<>){