From: Graham Knop Date: Tue, 14 Apr 2020 13:54:01 +0000 (+0200) Subject: remove underscores from version using tr rather than eval X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c562f7dd840a40ede31a6535c49d317a5c90781e;p=p5sagit%2FDistar.git remove underscores from version using tr rather than eval --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 3ded7cd..769d8ad 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -8,7 +8,7 @@ use File::Spec (); use File::Basename (); our $VERSION = '0.003000'; -$VERSION = eval $VERSION; +$VERSION =~ tr/_//d; my $MM_VER = eval $ExtUtils::MakeMaker::VERSION;