in reply to Re^5: Problem using value of variable in a regular expression
in thread Problem using value of variable in a regular expression

I like your idea. That could be very useful. You could try it with something like PPI. That is what Perl::Critic uses.

Update: Link fixed.

  • Comment on Re^6: Problem using value of variable in a regular expression