Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

62%
+3 −1
Q&A How do I choose the correct Perl module from these variations?

When looking for Perl modules to handle JSON strings and/or documents, I found JSON::PP and JSON::XS. The documentation of JSON::PP says it is compatible with JSON::XS. What do these suffixes me...

2 answers  ·  posted 4y ago by ghost-in-the-zsh‭  ·  last activity 7mo ago by ivan‭

Question perl json perl-module
#5: Post edited by user avatar ghost-in-the-zsh‭ · 2021-01-15T10:31:51Z (almost 4 years ago)
Update title to better reflect the point of the question - understanding meaning so you can choose correctly
  • What do different Perl module name suffixes mean?
  • How do I choose the correct Perl module from these variations?
  • When looking for Perl modules to handle JSON strings and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should be used and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
  • When looking for Perl modules to handle JSON strings and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should I use and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
#4: Post edited by user avatar ghost-in-the-zsh‭ · 2020-12-01T20:26:35Z (about 4 years ago)
Updated title to be more specific and fix a typo
  • What's the difference between these Perl modules?
  • What do different Perl module name suffixes mean?
  • When looking for Perl modules to handle JSON string and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should be used and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
  • When looking for Perl modules to handle JSON strings and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should be used and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
#3: Post edited by user avatar Alexei‭ · 2020-12-01T12:17:58Z (about 4 years ago)
added relevant tag
  • When looking for Perl modules to handle JSON string and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should be used and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
  • When looking for Perl modules to handle JSON string and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].
  • 1. What do these suffixes mean?
  • 2. Which one should be used and why?
  • [1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
  • [2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm
#2: Post edited by user avatar ghost-in-the-zsh‭ · 2020-12-01T05:57:04Z (about 4 years ago)
#1: Initial revision by user avatar ghost-in-the-zsh‭ · 2020-12-01T05:29:43Z (about 4 years ago)
What's the difference between these Perl modules?
When looking for Perl modules to handle JSON string and/or documents, I found [`JSON::PP`][1] and [`JSON::XS`][2]. The documentation of [`JSON::PP`][1] says it is compatible with [`JSON::XS`][2].

1. What do these suffixes mean?
2. Which one should be used and why?

[1]: http://search.cpan.org/~makamaka/JSON-PP-2.27400/lib/JSON/PP.pm
[2]: http://search.cpan.org/~mlehmann/JSON-XS-3.02/XS.pm