Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome or Safari browser. Firefox 10 (to be released soon) will also handle it.
Hokkaido.pm#11 @aloelight
# Load environment variables from ./env
use EnvDir -autoload;
# You can specify a directory.
use EnvDir -autoload => '/path/to/dir';
# envdir function returns a guard object.
use EnvDir 'envdir';
$ENV{PATH} = '/bin';
{
my $guard = envdir('/path/to/dir');
}
# PATH is /bin from here
productionで使う場合はprecompilerを利用してください
use strict;
use warnings;
use MyApp;
use Plack::Builder;
my $app = MyApp->new->to_app;
builder {
enable 'Assets::RailsLike', root => './htdocs';
$app;
};
Use a spacebar or arrow keys to navigate