Welcome to the Monastery | |
PerlMonks |
Dancer app works until I run it with Plack::Handler::Apache2by LittleJack (Beadle) |
on Mar 31, 2022 at 22:38 UTC ( [id://11142580]=perlquestion: print w/replies, xml ) | Need Help?? |
LittleJack has asked for the wisdom of the Perl Monks concerning the following question: I took the path here: https://metacpan.org/dist/Dancer/view/lib/Dancer/Deployment.pod#Running-from-Apache-with-Plack but it refuses to start up. The error complains about List::Util not exporting certain methods: Error while loading /path/to/app/bin/app.psgi: "pairmap" is not exported by the List::Util module\n "pairgrep" is not exported by the List::Util moduleWhich seems to say to me that it's accessing a very old List::Util somehow? The app works:
and a simple Perl script with use List::Util qw( pairmap ); works fine. The version of Perl used by app.psgi is fine with it. I asked CPAN to upgrade List::Util but it said it was current. Plack::Handler::Apache2 seems to be current but doesn't seem to export a $VERSION so that's moot. Which perl and which libraries is my Apache (2.4.7) trying to use?
Back to
Seekers of Perl Wisdom
|
|