Fri Mar 06 06:27:12 2020: Request 132055 was acted upon.
Transaction: Correspondence added by RSCHUPP
On 2020-03-06 00:07:28, ETHER wrote:
> On 2020-03-05 08:22:46, DBOOK wrote:
>
> > FWIW, the distribution that ran into this problem is Mojolicious. It
> > uses the path to modules to find its bundled resource files in several
> > places.
>
> Would File::ShareDir work any better here, I wonder?
That was my thought, too.
Note that using __FILE__ at runtime isn't the only problem here.
The bundled resource files need special treatment when packing a script:
Module::ScanDeps doesn't detect them automagically so they won't get packed.
Cheers, Roderich