Created
December 15, 2014 10:33
-
-
Save hitode909/17cdbaf6d75b004e0299 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Plack::Builder; | |
my $app = sub { | |
return [ 200, [ 'Content-Type' => 'text/html; charset=utf-8' ], [ <<HTML ] ]; | |
<h1>こんにちは!!</h1> | |
<p>ようこそ!!ここは僕のホームページです!!</p> | |
<p>今日は<code>Perl</code>を書きました!!</p> | |
<p>以下は僕の趣味と特技です</p> | |
<table> | |
<tr><th>趣味</th><td>マリンスポーツ</td> | |
<tr><th>特技</th><td>排水溝のぬめり取り</td> | |
</table> | |
HTML | |
}; | |
builder { | |
enable "Bootstrap"; | |
$app; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment