åå¦çã.cgiãã¡ã¤ã«ã§åããã¦ããã¢ããªãPlack::Testã§ãã¹ãããæ¹æ³ã§ãã Plack::App::CGIBinã§PSGIã¢ããªã«å¤æãã .cgiãã¡ã¤ã«ãç½®ããã¦ãããã£ã¬ã¯ããªã§ä»¥ä¸ã®ãããªapp.psgiãç½®ãã¾ãã #!/usr/bin/perl use strict; use warnings; use File::Basename; use Plack::Builder; use Plack::App::CGIBin; my $basedir = dirname(__FILE__); builder { mount '/' => Plack::App::CGIBin->new( root => $basedir, exec_cb => sub { 1 } )->to_app; }; ããã§ãPSGIã¢ããªã«ãªãã¾ãã $ plackup app.psgi ã¨ã
{{#tags}}- {{label}}
{{/tags}}