in reply to Re^2: CSS and PSGI
in thread CSS and PSGI
use strict; use warnings; use diagnostics; use Template; use Plack::Builder; my $app = sub { my $html = get_html(); # etc }; sub get_html { # etc } builder { enable "Static", path => qr!^/static!, root => '/Library/WebServer +/Documents'; $app; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CSS and PSGI
by tiny_monk (Sexton) on Aug 19, 2015 at 15:07 UTC |