Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Improvement on script needed.

by benn (Priest)
on Sep 08, 2003 at 13:01 UTC ( #289764=note: print w/replies, xml ) Need Help??

in reply to Improvement on script needed.

I'm not going to remove all the fun of coding from you, so here's a hint - you can do all this in a single, increment_keyhash,write (or not, as case may be). You can 'slurp' all in one go (as you do) and write to the same file, or read from one and write to another, then rename at the end.

Then again, you could simply use Tie::File and grep, but where's the fun in that? :)

Cheers, Ben.

Replies are listed 'Best First'.
2Re: Improvement on script needed.
by jeffa (Bishop) on Sep 08, 2003 at 14:04 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-10-23 12:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.