First, it seems that with XS enabled, the "make install" wants to put the entire Template distribution into the architecture-dependent library tree, for example:
/usr/lib/perl5/site_perl/5.005/i386-linux/Template All previous versions of Template have been installed in: /usr/lib/perl5/site_perl/5.005/Template So, users who upgrade Template may end up with two versions installed simultaneously. This can cause bizarre problems. Now, as for Apache::Session -- the problem is in the tied hashes. In XS programming, there is more that one way to retrieve values. Handing the magic of tied variables does complicate the code. In general, I tried to use functions that work with tied values, but apparently I missed a few (sorry). We should probably put a warning in the XS section of Makefile.PL alerting users that attempting to retrieve values from tied hashes may cause problems. (BTW, we apparently have no tests in the t/ directory that deal with tied hashes.) I hope to revisit the tied hash problem in the future, but not before the upcoming release. - doug
