http://www.perlmonks.org?node_id=1209487


in reply to Re^4: Failed to find share dir for dist 'Dancer2'
in thread Failed to find share dir for dist 'Dancer2'

maybe all the devs have already a Dancer2 distro installed in their path :O ?
I'm pretty sure that's the case ;-)

The version issue is probably because the $VERSION gets written into the modules only when the dist is built. Some Dist::Zilla plugin writes $Dancer2::VERSION = ... into Dancer.pm. Can't see which plugin from looking at the dist.ini, though.

Replies are listed 'Best First'.
Re^6: Failed to find share dir for dist 'Dancer2'
by markong (Pilgrim) on Feb 19, 2018 at 17:09 UTC

    Actually I see sub VERSION { shift->SUPER::VERSION(@_) || '0.000000_000' } inside the "main" Dancer2.pm module, but I don't see any inheritance set-up: maybe there's some trickery going on inside the sub import() ? What sub is SUPER::VERSION referring to ??