more useful options | |
PerlMonks |
Function call in a regular expressionby mdog (Pilgrim) |
on Jul 31, 2003 at 21:41 UTC ( [id://279802]=perlquestion: print w/replies, xml ) | Need Help?? |
mdog has asked for the wisdom of the Perl Monks concerning the following question:
Brethern --
I'd like to be able to call a function in the matching portion of substitution expression. Like this: However, I can't figure out the correct syntax for doing this. Obviously, I could use a throw away variable to do this but I'd like to know how to do it. Thanks much, Matt
Back to
Seekers of Perl Wisdom
|
|