Re: Why doesn't qr{} compile the regexp?

2001-11-25 Thread Alan Burlison
Jeff 'japhy' Pinyan wrote: > >In the test case I posted it isn't significantly faster. And, if nothing > >else the documentation is extremely misleading in that it implies qr{} > >results in the RE being compiled, which it obviously doesn't. > > I think it does. Perhaps B::Terse is lying. Wel

Re: Why doesn't qr{} compile the regexp?

2001-11-25 Thread Alan Burlison
Simon Cozens wrote: > On Sat, Nov 24, 2001 at 06:47:05AM -0800, Richard Soderberg wrote: > > It appears that the qr operator isn't calling pp_regcomp or Perl_pregcomp > > or anything that would actually trigger a compile of the regex. > > The problem is you want late-binding of qr/foo$bar/ so th