Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: The Deceiver

by diotalevi (Canon)
on Aug 13, 2004 at 15:20 UTC ( [id://382710]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://382710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found