Name: Anonymous 2011-04-17 3:58
Can I use subroutines in regex?
For example, is it possible to do something like:
I know that doesn't work like that, but is there a way to do something like that?
For example, is it possible to do something like:
$string =~ /<Text (example)>/<Text convert_text($1)>/g;I know that doesn't work like that, but is there a way to do something like that?