P is for Practical | |
PerlMonks |
Using constants in regexes?by Kozz (Friar) |
on Aug 11, 2001 at 02:31 UTC ( [id://104059]=perlquestion: print w/replies, xml ) | Need Help?? |
Kozz has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (regular expressions)
If I were to create something like
It's awfully hard for the interpreter to know that TEST is actually a constant, because to the regex engine it's just another string. The /e modifier doesn't work. Is there a way to do this? Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|