Re: Apache2::Reload, Prototype mismatch

2017-08-22 Thread
I think JSON module export from_json and to_json by default. so this just works fine for me: use strict; use warnings; use JSON; print to_json({a=>1,b=>2}); Your code seems did't pass arguments to the methods correctly? > On August 22, 2017 at 6:25 PM Ben RUBSON wrote:

[OT] MP jobs for high traffic webapp

2017-08-15 Thread
Hi, Though my team's main task is machine learning, see: http://fenghe.org/jobs/ But we did develop some APIs for machine learning application with mod_perl, for example, the recommender system etc. We have plan to hire 1-2 people who have rich experience on MP development, as well as the

Re: about request route

2017-08-08 Thread
Anyway I have tranformed this opensource project: https://github.com/skx/dns-api.org which is powered by dancer, to mod_perl. the API address: http://h.dnsbed.com/$type/$host which is entirely mod_perl backend. :) On Tue, Aug 8, 2017, at 09:45 AM, 风河 wrote: > Thanks for all he

Re: about request route

2017-08-07 Thread
Thanks for all helps. On Mon, Aug 7, 2017, at 08:26 PM, André Warnier (tomcat) wrote: > On 07.08.2017 13:18, 风河 wrote: > > Hi, > > > > for this like request: > > curlhttp://dns-api.org//dns-api.org > > > > in Dancer we could write: > > > &

about request route

2017-08-07 Thread
Hi, for this like request: curl http://dns-api.org//dns-api.org in Dancer we could write: get '/:type/:domain/?' => sub { my $rtype = params->{ 'type' }; my $domain = params->{ 'domain' }; But in a MP handler, how could we get the similiar result, treating request path as

Re: MP framework

2017-08-02 Thread
We actually use both dancer and modperl. but dancer works separately, it doesn't require modperl installed. So I was asking if there is a framework for modperl which behaves as something like dancer. On Wed, Aug 2, 2017, at 05:42 PM, André Warnier (tomcat) wrote: > On 02.08.2017 11:19, 风河 wr

MP framework

2017-08-02 Thread
Hi currently we were developing the methods mostly as handlers. is there a new popular framework for full stack development of modperl? thanks.

Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-07-31 Thread
Most are mobile App interfaces. On Tue, Aug 1, 2017, at 09:07 AM, Jie Gao wrote: > * 风河 <m...@fenghe.org> wrote: > > > Date: Tue, 1 Aug 2017 08:57:29 +0800 > > From: 风河 <m...@fenghe.org> > > To: modperl@perl.apache.org > > Subject: Re: [Slightly OT] A

Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-07-31 Thread
We have a lot of servers running under mp2 and httpd2.2 :) On Tue, Aug 1, 2017, at 05:51 AM, Randolf Richardson wrote: > I don't know of anyone who uses Apache HTTPd v1.x or mod_perl > version 1.x anymore. With mod_perl2 support added recently for > Apache HTTPd v2.4 it seems that