Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Upgrading json to latest?

Posted on 2014-12-29
4
Medium Priority
?
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

636 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