in reply to calling subroutines within a regular expression?
... takes deep breath and prepares to put foot firmly in mouth ... you might also consider using a scalar (c/w a constant) to hold the pre-compiled regexp - I'm not altogether convinced that perl interpolates constant values within a regexp operation ... but I'm sure our (far) more learned monks will put me right in due course ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling subroutines within a regular expression?
by chromatic (Archbishop) on Apr 04, 2009 at 01:57 UTC | |
by Bloodnok (Vicar) on Apr 04, 2009 at 10:07 UTC | |
by AnomalousMonk (Archbishop) on Apr 05, 2009 at 09:39 UTC | |
by Bloodnok (Vicar) on Apr 05, 2009 at 10:31 UTC |