Re: Alternatives to CGI perl module

2016-09-10 Thread Ruben Safir
On 09/11/2016 02:35 AM, Eric Aarts wrote: > Only non-issue – and only on stopping/restarting service apache2 – are > lines like these in the apache2 error.log: > > [Sun Sep 11 08:31:00.430150 2016] [mpm_prefork:notice] [pid 15239] AH00169: > caught SIGTERM, shutting down > > [ error] oh jeez, se

Re: Alternatives to CGI perl module

2016-09-10 Thread Eric Aarts
On our Ubuntu 16.04.1 LTS, after installing mod_perl (simply out-of-the-box with apt-get), CGI.pm installs: /usr/lib/x86_64-linux-gnu/perl5/5.22/FCGI.pm /usr/share/perl5/CGI.pm We have 20+ Ubuntu LTS instances running on Google Cloud Platform, 12.04, 14.04 and 16.04, on all mod_perl and CGI.pm

Re: Alternatives to CGI perl module

2016-09-10 Thread Michael Bochkaryov
On Sat, Sep 10, 2016 at 6:18 AM, Igor Chudov wrote: > I can, and will of course, install CGI myself as all my sites use it and I > have 84,000 lines written using it. > My concern is that it will break at some point going forward if it is not > maintained. > Out of curiosity, why do you think th

Re: Alternatives to CGI perl module

2016-09-10 Thread Ruben Safir
On 09/10/2016 09:53 PM, Igor Chudov wrote: > It turns out that HTML has a very minor and subordinate role to perl > application logic, and putting "perl inside html" was completely misguided > and instead I decided to "make html inside perl". Using CGI module of > course. This was far more maintain

Re: Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
Can you use Dancer2 for multiple websites? Can it handle, say, 170 object requests per second? (which is what my main webserver does at the peak times)? I looked at those templates .tt. I see how they have attempts at conditional HTML generation based on application logic. They reminded me about

Re: Alternatives to CGI perl module

2016-09-10 Thread Clive Eisen
> On 10 Sep 2016, at 15:41, Paul Johnson wrote: > > I'd probably choose Dancer2 for new work now myself, but if you want 20 > year support you might prefer looking towards Catalyst, or perhaps even > building something for yourself on top of Plack. > +1 for Dancer2 And proxy to it with nginx t

Re: Alternatives to CGI perl module

2016-09-10 Thread Paul Johnson
On Sat, Sep 10, 2016 at 08:18:53AM -0500, Igor Chudov wrote: > Tom, thanks for your kind words. > > I can, and will of course, install CGI myself as all my sites use it and I > have 84,000 lines written using it. > > My concern is that it will break at some point going forward if it is not > main

Re: Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
Tom, thanks for your kind words. I can, and will of course, install CGI myself as all my sites use it and I have 84,000 lines written using it. My concern is that it will break at some point going forward if it is not maintained. I try to use CGI.pm in ways that are not questionable, such as usi

Re: Alternatives to CGI perl module

2016-09-10 Thread Tom Browder
On Sat, Sep 10, 2016 at 7:54 AM, Igor Chudov wrote: > I hope that this message would not be considered off topic. ... > I always considered the CGI perl module to be a work of a genius. How it I agree, and use it, too. ... > OK, so now, as of ubuntu 16.04, CGI is considered obsolete and is bein

Alternatives to CGI perl module

2016-09-10 Thread Igor Chudov
I hope that this message would not be considered off topic. I have been developing web apps since 1996 and have about 84,000 lines of perl code implementing various websites that I own. I do not work for anybody, own all websites that I work on, and these sites feed my family. The largest websit