Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Need help with searching flatfile and updating it.

by Cody Pendant (Prior)
on Apr 24, 2005 at 23:50 UTC ( [id://451091]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: Need help with searching flatfile and updating it.
in thread Need help with searching flatfile and updating it.

Just playing with a minimal case, I think I've grasped what you're trying to do -- are you trying to put the lines back into the LOG file which don't match? Put them back unchanged?

In that case, you probably want to change

else { print "$line"; }
to
else { print LOG "$line\n"; }


($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451091]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.