On Fri, Nov 12, 2004 at 07:36:48PM -0600, David Nicol wrote:
> > following string is a pattern, would get messy, eg
> >
> > $foo =~ ("abc\b" . bar("baz"))
> >
> > where baz mustn't be treated as a regex string. For that matter, "abc\b"
> > must still have the \b converted to a bell char rather than being left
> > untouched for the regex engine. Very messy.
>
>
> $foo =~ EXPR
>
> is supposed to mean
>
> {
> my $regextext = EXPR;
> my $regex = qr/$regextext/;
> $foo =~ m/$regex/;
> }
>
> right?
>
>
> > So, should I break the behaviour of (?{}) in single-quoted strings,
> > or is there another way?
> >
> > Dave.
>
> rewrite, add temporaries as needed.
Please stop talking nonsense.
--
Thank God I'm an atheist.....