plack/Plack — pull request #343 by miyagawa (2012-10-16 15:51:41+00:00)
Title: Stop load_psgi search .psgi files from @INC

If you have `foo.psgi` in some of your @INC paths, running `plackup foo.psgi` used to load the one in there first rather then the current directory, which is listed as the last entry of include paths with usual perl.

This confuses a lot of users. With this change `load_psgi` function in Plack::Util does a little more DWIMmery to make it into `./foo.psgi` unless the given path begins with / (slash).

Arguably this might break _some_ users, who uses this feature for their CPAN modules to install PSGI scripts into `@INC`. That will stop working, although we never recommended it, and if they have a module (not a script) like `MyApp::PSGI` into include paths that will keep working.