|
|
| 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.
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.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||