Fun trick with EPAN and Mojolicious

TL;DR

Serving an epan through Mojolicious.

In past post EPAN - Exclusive Perl Archive Nook I introduced a small application epan, which covers a small niche of generating just the missing bits to turn what’s left from running cpanm with the right set of command-line parameters into a valid local mini-CPAN directory.

But, of course, CPAN is mostly a thing that we love to access via HTTP/HTTPS, so the next stop would be to make it accessible via this protocol.

If you toss Mojolicious into your epan archive, this can be done in virtually no time:

Hope you find it useful… and hope you stay safe too!


Comments? Octodon, , GitHub, Reddit, or drop me a line!