Mojo::JSON eliminated?

108 views
Skip to first unread message

James Bearden

unread,
May 28, 2016, 9:35:49 AM5/28/16
to Mojolicious
In an attempt to avoid some distraction and stay on topic, I prefer to deploy to production using packages (in my case Ubuntu debs) and that isn't going to change anytime soon.

So, now that we have that out of the way, I just upgraded my devel server to the latest LTS version of Ubuntu (16.04), did my usual install, and got a big fat error message about Mojo::JSON not being available. I've done some searching and I can't find any packages that contain it. Has it been eliminated and so I need to look for an alternative?

Thanks in advance,

James

sri

unread,
May 28, 2016, 9:45:43 AM5/28/16
to Mojolicious

James Bearden

unread,
May 28, 2016, 10:01:49 AM5/28/16
to Mojolicious
So what I hear you saying is that there are no longer any maintained packages for Mojo::JSON anymore and I should starting using something like JSON:XS?

On Saturday, May 28, 2016 at 8:45:43 AM UTC-5, sri wrote:

sri

unread,
May 28, 2016, 10:14:42 AM5/28/16
to Mojolicious
So what I hear you saying is that there are no longer any maintained packages for Mojo::JSON anymore and I should starting using something like JSON:XS?

I was saying the exact opposite, Mojo::JSON is still part of Mojolicious and nothing changed.

--
sebastian 

Chase Whitener

unread,
May 28, 2016, 10:58:45 AM5/28/16
to Mojolicious
Hi James,


sudo apt-get install libmojolicious-perl
perl -MMojo::JSON -E 0

If you get any errors from that last command, please let us know.

Thanks,
Chase

James Bearden

unread,
May 28, 2016, 11:06:02 AM5/28/16
to Mojolicious
Ok, thanks!

Matija Papec

unread,
May 28, 2016, 12:23:36 PM5/28/16
to Mojolicious

In case you change your mind and want flexibility and more control over deployment process,

http://kappataumu.com/articles/modern-perl-toolchain-for-web-apps.html

James Bearden

unread,
May 28, 2016, 3:31:14 PM5/28/16
to Mojolicious
I wear all hats in my organization and I start getting phone calls within minutes if something goes wrong with my main application. Any time I spend doing customer support or system administration is less time I can spend developing software. Therefore I use configuration management (http://rexify.org) which does not lend itself to using what you are calling a "modern" perl toolchain. Using VMs, yes I absolutely do that, but in my opinion the convenience of using configuration management (for ops) vastly outweighs the convenience of using CPAN (for dev).

James

Joel Berger

unread,
May 28, 2016, 4:11:09 PM5/28/16
to Mojolicious
The CPAN release has not changed relative to the packaging of Mojo::JSON. We are not in control of system packages for Mojolicious and its library. Indeed I'm completely unaware of the state of it. I assume from your previous message that you are using Rex to manage these system dependencies. Unfortunately we cannot help you with those, at least not directly, they are out of our control.

Cheer,
Joel

Matija Papec

unread,
May 28, 2016, 5:03:34 PM5/28/16
to Mojolicious

Modern toolchain is pretty irrelevant in this context, but control over perl module version is another story, and Carton takes care that dev environment doesn't differ here from test/production.
Anyway, tnx for pointing to perl based automation tool.
Reply all
Reply to author
Forward
0 new messages