Re: File handle in mod_perl

2006-01-17 Thread Perrin Harkins
On Tue, 2006-01-17 at 15:00 +0800, LUKE wrote: > But this case to bring about some guestion! Will the code influence > each other? When > muti-user visit the same recourse at the same time? This code only seems to be reading from files, not writing to them, so there will be no interaction betwee

Re: File handle in mod_perl

2006-01-17 Thread Tom Schindl
Hi, It seems that you are not modifying the files so no lock is needed. If to clients are accessing your webserver at the very same moment there are 2 Apache-Processes working so there is not interference between them. One more sidenote you can read files as a whole using: --8<---

File handle in mod_perl

2006-01-16 Thread LUKE
I have some problem about file handle in mod_perlV2.02 + apache v2.055. I got some strange result today.And i check the program find that i forgot to close(filehande). But this case  to bring about some guestion! Will the code influence each other? When muti-user visit the same recourse a