# Pastebin zKSNXJ3h sub get-version is export { # are we local or installed? my $ver; my $metafil = "dist.ini".IO.parent.child("META6.json"); if $metafil.IO.r { # must be local my %meta = from-json $metafil.IO.slurp; $ver = %meta:exists ?? %meta !! die "FATAL: no ; } else { $ver = $?DISTRIBUTION.meta // ''; } $ver }