Skip to content

Commit d666bae

Browse files
nehaljwanioberpar
authored andcommitted
geninfo: Change json module
Perl module JSON may not be present on all distributions. Switch to using JSON:PP instead which is a Perl core module since Perl 5.14.0. xref: https://perldoc.perl.org/5.14.0/index-modules-J.html Note: JSON:PP is included in packages named perl-JSON-PP or libjson-pp-perl on some distributions Signed-off-by: Nehal J Wani <[email protected]> [[email protected]: fixed missing colon in use]
1 parent 41bfb00 commit d666bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/geninfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ use Getopt::Long;
6060
use Digest::MD5 qw(md5_base64);
6161
use Cwd qw/abs_path/;
6262
use IO::Uncompress::Gunzip qw(gunzip $GunzipError);
63-
use JSON qw(decode_json);
63+
use JSON::PP qw(decode_json);
6464

6565
if( $^O eq "msys" )
6666
{

0 commit comments

Comments
 (0)