in reply to quickly counting substrings

Very interesting. Just curious: do we no longer need to use /o when we're using an unchanging variable in a regexp?

p

Replies are listed 'Best First'.
Re: Re: quickly counting substrings
by Crayman (Acolyte) on Mar 09, 2001 at 12:15 UTC
    it's not unchanging in the actual code. $rcdsep is
    contained in an object. if we settle on using one of
    the perl routines, as opposed to C, we will probably
    bind $rcdsep using a closure and then /o would be applicable.
    ___cliff rayman___cliff_AT_rayman.com___