Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
more useful options
 
PerlMonks  

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

by chas (Priest)
on Apr 24, 2005 at 23:45 UTC ( [id://451090]=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.

Fletch advised (wisely!) that you always check that the calls to open succeeded. Is it possible that the file "data/browser.dat" is never actually opened and that's why you never see it amended? In fact, usually the path has to be given in some suitable way relative to the top directory that the web server recognizes, and you may not have that right. (It's happened to me!)
chas
(Update: Checking that open succeeded might be done by writing an error msg to the browser if the open fails.)
  • Comment on Re^3: Need help with searching flatfile and updating it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451090]
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.