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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dancer app works until I run it with Plack::Handler::Apache2
by kcott (Archbishop) on Apr 01, 2022 at 04:31 UTC | |
by LittleJack (Beadle) on Apr 02, 2022 at 02:39 UTC | |
by hippo (Archbishop) on Apr 02, 2022 at 10:18 UTC | |
by LittleJack (Beadle) on Apr 04, 2022 at 04:18 UTC | |
|
Re: Dancer app works until I run it with Plack::Handler::Apache2
by hippo (Archbishop) on Apr 01, 2022 at 08:55 UTC |