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.
In reply to Re^11: appending to html at beginning (don't use CGI.pm)
by Your Mother
in thread appending to html at beginning
by Limbomusic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |