Stas Bekman wrote: > a broken Exporter? > > does it work after you do: > > perl -pi -e 's/(O_CREAT|O_WRONLY|O_TRUNC)/Fcntl::$1/g' > /Library/Perl/darwin/Template/Document.pm
OK, we tried your suggestion and fully qualified those constants on line 251 of Template/Document.pm. Now it still freezes with "PerlModule Template" in the conf file, but trying "use Template ();" in the startup file works! But then when he stops the web server, this appears in the Apache error log: *** malloc[1583]: Deallocation of a pointer not malloced: 0x17d4cc; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug One other thing of note: He uses the System Preferences > Sharing control panel to start and stop Apache. He hasn't yet tried it from the command line. Is that a possible source of this problem? > Please stay away from perl 5.6.0 -- it's *very* buggy. use 5.6.1 > instead, which is very stable. My colleague tried to upgrade to 5.6.1 at one point but ran into a lot of problems due to various other dependencies. He ended up restoring the original Perl binaries from CD. If anyone knows of a reliable way to upgrade to 5.6.1 without trashing anything else, please share. P.S. My colleague also noticed that that trying to preload Apache::Util causes Apache to freeze, as well; however, no error messages appear in the error log at all. -Tim
