in reply to Re^10: appending to html at beginning (don't use CGI.pm)
in thread appending to html at beginning
Thanks for following up. I should point out this is the opposite of what I was talking about in the other thread when I said that CGI should use PSGI as its interface layer. This is, or flavors of it, is what I meant–
use strictures; use Plack::App::WrapCGI; Plack::App::WrapCGI->new(script => "./my.cgi")->to_app;
There is zero functional/feature/middleware benefit to going the other way: PSGI->CGI.
You’re timing webserver responses… it’s hard to guess what’s up there. It’s also hard to measure such a trivial use meaningfully (it is like benchmarking “hello world”). I just sank about 45 minutes into trying to do a pure backend/perl benchmark but I’m having trouble getting part of it to act right and I’m outta gas and IQ.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^12: appending to html at beginning (don't use CGI.pm)
by hippo (Archbishop) on Mar 03, 2017 at 09:57 UTC | |
by Anonymous Monk on Mar 03, 2017 at 10:26 UTC |