PSGI (Perl Web Server Gateway Interface) is an interface between web servers and Perl-based web applications and frameworks that allows writing portable applications that can be run as standalone servers or using CGI, FastCGI, mod_perl, etc.
PSGI (Perl Web Server Gateway Interface) is an interface between web servers and Perl-based web applications and frameworks that allows writing portable applications that can be run as standalone servers or using CGI, FastCGI, mod_perl, etc. (from: Wikipedia)
This is an example PSGI application:
my $app = sub {
return [200, ['Content-Type' => 'text/plain'], ["Hello, World!\n"]];
}
PSGI is inspired by Python's wsgi (Web Server Gateway Interface), Ruby's rack and JSGI for JavaScript.