Solved

Upgrading json to latest?

Posted on 2014-12-29
4
128 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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

733 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