Reference to invalid group 0 in regex; marked by <-- HERE in m/\.tar.\g
<-- HERE z$/ at Makefile.PL line 60.
Line 60 is
(my $distrodir = $distro) =~ s/\.tar.\gz$//g;
so the fix is clearly to write \.tar\.gz instead of \.tar.\gz .
( '\.' not '.\' )
Regards
Przemek Czerkas