- Why send back an array ref instead of using the CGI way? What is the advantage it brings?
If I want my app to run in a simple FastCGI environment (with the CGI protocol), this will not be possible anymore so I will be dependent on the Plack suite or create 2 versions: PSCI enabled and not PSGI enabled (this will not be much but still, 2 is worst than 1).
- Are all the $ENV variables available? (SCRIPT_NAME for example?)
- All the plack Middleware sounds much like externalized Catalyst modules. I don't really see what advantages it will bring to framework like Mojolicious for example (they will certainly never ever used any Middleware stuff from the Plack namespace as this is at the heart of their policy so they will just get access to the servers that implements this spec instead of using the normal CGI protocol) If you put them all back together, you get Catalyst.
So if you start to build a new framework from scratch, yeah, this might be nice. Everything has been done, you just pick what you want but else...