use strict; use warnings; use Plack::Builder; # Usage # > carton install # > carton exec -- ./local/bin/plackup -a app.psgi # > open http://localhost:5000 my $html = < Assets::RailsLike

Assets::RailsLike

TOPへ 別ページへ HTML builder { enable 'Assets::RailsLike', root => './htdocs', search_path => ['./htdocs/js']; sub { [ 200, [ 'Content-Type', 'text/html; charset=utf-8' ], [$html] ] }; };