At 09:17 AM 8/5/00 -0700, Larry Wall wrote:
>I'm not enamoured of the study interface, but the algorithm is
>definitely a win on certain classes of data.  The basic problem with
>study is that it needs incestuous hooks into how you do string
>searching.  So even if we moved study out into an external module, we'd
>still have to find some way to treat searching for constant strings as
>polymorphic within the regex engine.

It should be possible to write external modules that both have hooks deep 
into perl and are automagically loaded. We could, for a first cut, define 
the hooks and yank study off into one of these modules, with a "do nothing" 
function in there. Then, when Clever People have had a chance to go think 
about it, we could drop in a replacement and get the win.

This, of course, presumes that defining the hooks (which will also require 
Clever People) can be done correctly without actually writing the code that 
uses it...

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to