Re: Module preloading on virtual hosts

2012-10-29 Thread Patryk Zera
I will try to force using JSON::PP and see if this changes something. After adding line BEGIN { $ENV{PERL_JSON_BACKEND} = 'JSON::PP' } to both startup scripts backend changes to JSON::PP and on both virtual hosts JSON::true is encoded to true. But I've found some info that XS is way fast

Re: Module preloading on virtual hosts

2012-10-26 Thread Randolf Richardson
> On 25 October 2012 16:26, Randolf Richardson wrote: > >> Hello, > >> > >> I've problem with preloading JSON module on apache virtual hosts. I've > >> asked about that on #perl-help and #modperl IRC channels and i was advised > >> to ask my question here. I've described my setup with config files

Re: Module preloading on virtual hosts

2012-10-26 Thread demerphq
On 25 October 2012 16:26, Randolf Richardson wrote: >> Hello, >> >> I've problem with preloading JSON module on apache virtual hosts. I've >> asked about that on #perl-help and #modperl IRC channels and i was advised >> to ask my question here. I've described my setup with config files: >> http://

Re: Module preloading on virtual hosts

2012-10-25 Thread Randolf Richardson
> Hello, > > I've problem with preloading JSON module on apache virtual hosts. I've > asked about that on #perl-help and #modperl IRC channels and i was advised > to ask my question here. I've described my setup with config files: > http://sanchez.wasilkow.pl/json-problem.html - what causes

Re: Module preloading on virtual hosts

2012-10-25 Thread Patryk Zera
Hi Mike, Please check the module documentation: https://www.metacpan.org/module/JSON#BACKEND-MODULE-DECISION Does this help? Do you have different backend modules in the different situations? On both sites backend module is JSON::XS (i've updated problem description: http://sanchez.wasilko

Re: Module preloading on virtual hosts

2012-10-25 Thread Michiel Beijen
Hi Patryk, On Thu, Oct 25, 2012 at 1:37 PM, Patryk Zera wrote: > I've problem with preloading JSON module on apache virtual hosts. I've asked > about that on #perl-help and #modperl IRC channels and i was advised to ask > my question here. I've described my setup with config files: > http://sanch

Module preloading on virtual hosts

2012-10-25 Thread Patryk Zera
Hello, I've problem with preloading JSON module on apache virtual hosts. I've asked about that on #perl-help and #modperl IRC channels and i was advised to ask my question here. I've described my setup with config files: http://sanchez.wasilkow.pl/json-problem.html - what causes that situat