Skip to content

Commit

Permalink
Added HTML::Mason
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Oct 1, 2009
1 parent 37dd970 commit 13bd46c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eg/dot-psgi/frameworks/HTML-Mason.psgi
@@ -0,0 +1,8 @@
use HTML::Mason::PSGIHandler;
use HTTP::Response;

my $h = HTML::Mason::PSGIHandler->new(
comp_root => $ENV{DOCUMENT_ROOT} || "$ENV{HOME}/Sites",
);

my $handler = sub { $h->handle_psgi(@_) };

0 comments on commit 13bd46c

Please sign in to comment.