From: Karen Etheridge Date: Fri, 1 May 2020 15:41:58 +0000 (-0700) Subject: better trial version handling X-Git-Tag: v1.004001~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25af68289adce95bf77b3f7bbc5f39fdc461c593;p=p5sagit%2FJSON-MaybeXS.git better trial version handling --- diff --git a/lib/JSON/MaybeXS.pm b/lib/JSON/MaybeXS.pm index a101a36..376853a 100644 --- a/lib/JSON/MaybeXS.pm +++ b/lib/JSON/MaybeXS.pm @@ -5,7 +5,7 @@ use warnings FATAL => 'all'; use base qw(Exporter); our $VERSION = '1.004000'; -$VERSION = eval $VERSION; +$VERSION =~ tr/_//d; sub _choose_json_module { return 'Cpanel::JSON::XS' if $INC{'Cpanel/JSON/XS.pm'};