sixcolors has asked for the wisdom of the Perl Monks concerning the following question:

If anyone can help I would be verry happy. Using apache with mod_perl to use embperl. Created a simple file editor. Opens file (with flock EX lock on) then reads file and allows to edit and re-submit. If I use embpgci it works fine only if I open the file with the cgi to start with. If I use mod_perl then it dosent save and leavs a blank file. I am using debian and I checked www-data wons all the files with write permisions for owner. The weird part is if I restart apache mid request then the mod_perl works... I am thinking this could be an issue with the lock?
  • Comment on EMBPerl mixed with mod_perl weird stuff

Replies are listed 'Best First'.
Re: EMBPerl mixed with mod_perl weird stuff
by Maclir (Curate) on May 03, 2001 at 02:28 UTC