sudo cpan install Task::Plack #### return [ 200, [ 'Content-Type' => 'text/html'], [ 'hello PSGI world' ] ]; #### print "content-type: text/html\n\n"; #### listing of action.psgi ---------------------- my $app = sub { return [200, [ 'Content-Type' => 'text/plain'], [ 'Hello world' ] ]; }; #### > plackup -s Starman -r action.psgi #### Hello world