>>seems like CGI.pm and mod_perl can't work together. Man, I wish I had >> figured that out earlier. According to Doug MacEachern... >> >> >>> Lincoln's CGI.pm does not work under mod_perl, at least it did not >>> last time we checked.... > > >This is news to me. I've used CGI.pm under mod_perl many times. Heck, >the O'Reilly mod_perl book is filled with CGI.pm examples. Under the >hood, CGI.pm jumps though a fair number of hoops to make things work right >under mod_perl. Where did you find that quote?
Well, Chris, I might have mis-spoke, but, the above quote can be seen here... http://www.bitmechanic.com/mail-archives/modperl/Feb1997/0100.html however, then I realize that is from aeons ago, so maybe CGI.pm and/or mod_perl might have been re-engineered since then to co-exist. The fact is that I have found Perl to be more than frustrating on my iBook, and as much as I want to believe, I am finding it tiring. Ever since I built and installed Perl561 and installed mod_perl using CPAN, I have just not had anything work for me predictably. The web server locks up and doesn't start. It will start only if I comment out the mod_perl lines in httpd.conf. Then it starts. After that if I uncomment the mod_perl lines, then it will restart. Go figure. I always get messages to the effect of... Subroutine ??? redefined in CGI.pm at line ??? (replace ??? with various values). Googling on the above error message actually lead me to the above quote. Now, DBD::mysql has stopped working... no error messages, no results... nothing. I am spending way tooooooo much time trying to make it work, instead of spending time trying to figure out neat ways to write a program. Almost makes me wanna believe in Micro$oft (shudder). pk/ -- Puneet Kishor
