in reply to Re: Dancer app works until I run it with Plack::Handler::Apache2
in thread Dancer app works until I run it with Plack::Handler::Apache2

The first version of perldoc which mentions 'pairmap' and 'pairgrep' is for Perl v5.20

Well that might explain it because my default Perl is still on 5.18.

But when I check my $List::Util::VERSION it's 1.62 so it should be fine.

The mystery is somewhat solved when I use Apache2::Status, because Apache is loading some modules from /usr/local/lib/perl/5.18.2/ but some others from /usr/lib/perl/5.18/ where there is indeed an old List::Util.

How do I convince Apache to load a newer one from a different directory?

Replies are listed 'Best First'.
Re^3: Dancer app works until I run it with Plack::Handler::Apache2
by hippo (Archbishop) on Apr 02, 2022 at 10:18 UTC

      Very helpful, thanks. A rogue startup.pl from another app entirely was to blame.