in reply to Re^8: JSON::XS and blessings
in thread JSON::XS and blessings
You have already stated that the problem only occurs when Apache is involved.
Have you stopped and restarted Apache?
Does the problem persist when the Perl script is run as a CGI program instead of being run as a mod_perl script?
Check the versions of all modules loaded into mod_perl and compare them between the two machines:
for my $module (sort keys %INC) { (my $namespace = $module) =~ s!/!::!g; $namespace =~ s/\.pm$//; print sprintf "Module: %s; Path: %s; Size: %d; VERSION: %s\n", $module, $INC{$module}, -s($INC{$module}), $namespace->VERSION +; }
Note that you need to run the above output from within Apache, because when run from the shell everything seems to be OK for you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: JSON::XS and blessings
by cshavit (Novice) on Oct 16, 2015 at 02:45 UTC | |
by Anonymous Monk on Oct 16, 2015 at 02:50 UTC | |
by cshavit (Novice) on Oct 16, 2015 at 03:31 UTC | |
|
Re^10: JSON::XS and blessings
by cshavit (Novice) on Oct 16, 2015 at 03:26 UTC | |
by tye (Sage) on Oct 16, 2015 at 15:01 UTC | |
by cshavit (Novice) on Oct 16, 2015 at 21:54 UTC |