in reply to Re: Regexp conundrum
in thread Regexp conundrum

How may I initialise the variables? A literal string within quotes? Much of the code I wrote didn't make much sense, so I've cut the unnecessary stuff out. Live and learn... Richard

Replies are listed 'Best First'.
Re: Regexp conundrum
by Abigail-II (Bishop) on Aug 22, 2003 at 10:34 UTC
    If the intention is to later interpolate them into a regexp, I'd go for a literal string. A qr construct works too, but that may be less efficient (it depends on how the interpolation happens).

    Abigail