Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by chas (Priest)
on Apr 25, 2005 at 03:45 UTC ( [id://451090]=note: print w/replies, xml ) Need Help??


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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found