in reply to Re: The Deceiver
in thread Why does a Perl 5.6 regex run a lot slower on Perl 5.8?

Finding the things around 'whatever' is different than just removing 'whatever'.

Replies are listed 'Best First'.
Re^3: The Deceiver
by sleepingsquirrel (Chaplain) on Aug 13, 2004 at 15:52 UTC
    My code was just a literal translation of the OP's remark...
    "As you can see, this code slurps a file and removes all occurences of a certain word (`whatever')."


    -- All code is 100% tested and functional unless otherwise noted.
Re^3: The Deceiver
by jryan (Vicar) on Aug 13, 2004 at 17:09 UTC
    Take a look at how that extract() routine is used a little more closely...