Closed anazawa closed 11 years ago
I found the solution to run "make test" by myself:
$ perl Build.PL $ ./Build $ ./Build test
In addition, we can't specify the query object explicitly:
use CGI::PSGI;
use MyApp;
my $app = MyApp->psgi_app({
# How can I specify QUERY without $env?
...
});
Thanks for the feedback, Ryo. A proposed patch with tests would be welcome.
Thanks for your reply. I sent the pull request.
psgi_app() returns a PSGI code reference which never updates QUERY, while $env is updated, and so we can't reload the PSGI app.
The aboce "if" statement will be executed only once if $args_to_new->{QUERY} is undefined. I believe psgi_app() is a shorcut for:
By the way, this repository doesn't contain Makefile.PL. How can I run "make test"?