Solved

Upgrading json to latest?

Posted on 2014-12-29
4
121 Views
Last Modified: 2015-01-06
What are the steps needed to upgrade json to the latest version? We are running OTRS, and they have recommended that we upgrade json to the latest version (3.* .. )

Installed Packages
Name        : perl-JSON
Arch        : noarch
Version     : 2.15
Release     : 5.el6
Size        : 268 k
Repo        : installed
From repo   : base
Summary     : Parse and convert to JSON (JavaScript Object Notation)
URL         : http://search.cpan.org/dist/JSON/
License     : GPL+ or Artistic
Description : This module converts between JSON (JavaScript Object Notation) and Perl
            : data structure into each other. For JSON, see http://www.crockford.com/JSON/.

Open in new window


Is this done through cpan?

Running..

CentOS release 6.3 (Final)

Open in new window

0
Comment
Question by:meade470
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:FishMonger
ID: 40523654
The latest (newest) version of the perl JSON module is 2.90 (Oct 2013).  Since you referred to v 3.*, I'll assume you want the JSON_XS module v3.01 which was also release in Oct 2013.

JSON
JSON_XS

Fedora (i.e., CentOS) is always years behind in their releases.  So, you could install the latest version via the cpan tool.
e.g.,
[root@099-91-RKB-2 ~]# cpan JSON_XS
CPAN: Storable loaded ok
Going to read /home/rkb/.cpan/Metadata
  Database was generated on Thu, 11 Sep 2014 02:17:02 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  http://cpan.schatt.com/authors/01mailrc.txt.gz
....
....
....
0
 
LVL 2

Author Comment

by:meade470
ID: 40533585
Thanks for the response, but it shows no matching identifier:

none found
0
 
LVL 28

Accepted Solution

by:
FishMonger earned 500 total points
ID: 40533685
Sorry, that was due to a typo on my part.  Instead of the underscore, it should be 2 colons.

cpan JSON::XS
0
 
LVL 2

Author Closing Comment

by:meade470
ID: 40534222
Thanks! I think that was it!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question