Time::localtime under mod_perl2 showing output in client-side time zones

2005-10-28 Thread Richard N. Fogle
We are experiencing strange behavior with the following code:   -SNIP- #! /usr/bin/perl -w   $ENV{'MOD_PERL_API_VERSION'} = '2';use strict;use Time::localtime;     my $foot = time();my $foo = localtime($foot);   my $year = $foo->year() + 1900;my $headers = <<"EOF";Content-type: text/

Re: mp2 shared vs. static build - pros & cons?

2005-10-28 Thread Philip M. Gollucci
Frank Wiles wrote: While in mp1 DSO had some stability issues, I believe current wisdom is that there is very little difference between DSO and static. So I would go with DSO. If you're looking for a performance gain, recompile your Perl to not use threads and you'll see a boost. D

Re: static mod_perl compilation failed...

2005-10-28 Thread Marc Gràcia Galobart
Sorry... so? What I have to do? I just commented the #error line... and everything just compiled OK. I think its a very risky business, but well. That are my thoughts knowing nothing about perl inner works: -I thought dlclose is related to loading libraries. I don't use libraries. -There were any