projects
/
p5sagit/JSON-MaybeXS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
89143ec
)
better trial version handling
Karen Etheridge [Fri, 1 May 2020 15:41:58 +0000 (08:41 -0700)]
lib/JSON/MaybeXS.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/JSON/MaybeXS.pm
b/lib/JSON/MaybeXS.pm
index
a101a36
..
376853a
100644
(file)
--- 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'};