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.

Comments on How do I choose the correct Perl module from these variations?

Parent

How do I choose the correct Perl module from these variations?

+3
−1

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.

  1. What do these suffixes mean?
  2. Which one should I use and why?
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+0
−0

Realistically in 2024, you should be using Cpanel::JSON::XS, and JSON::MaybeXS. Cpanel::JSON::XS is by far the best JSON implementation for Perl, but not every platform will have it, so you can use JSON::MaybeXS to include the "best" JSON implementation for the current platform. Which could be any of Cpanel::JSON::XS (best), JSON::XS, JSON::PP, or JSON.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Keep in mind that the goal of this self-answered question was not to make module recommendations. Rat... (1 comment)
Keep in mind that the goal of this self-answered question was not to make module recommendations. Rat...
ghost-in-the-zsh‭ wrote about 1 month ago

Keep in mind that the goal of this self-answered question was not to make module recommendations. Rather, it was to explain what the "big picture" differences are, between the modules, etc.

Skipping 1 deleted comment.