Last active
October 8, 2015 16:50
-
-
Save dracos/e299671ee6683b5befb3 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
$ cpanm -L local Catalyst | |
$ cpanm -L local Catalyst::Devel | |
$ cpanm -L local Catalyst::View::TT | |
$ PERL5LIB=local/lib/perl5 local/bin/catalyst.pl MyApp | |
$ cd MyApp/ | |
$ PERL5LIB=../local/lib/perl5 script/myapp_create.pl view Web TT | |
$ vim lib/MyApp/Controller/Root.pm # Change index line to $c->stash->{template} = 'foo.html'; | |
$ PERL5LIB=../local/lib/perl5 script/myapp_server.pl | |
[info] *** Request 1 (0.200/s) [89599] [Thu Oct 8 17:44:14 2015] *** | |
[debug] Path is "/" | |
[debug] "GET" request for "/" from "127.0.0.1" | |
[debug] Rendering template "foo.html" | |
[error] Couldn't render template "foo.html: file error - foo.html: not found" | |
[error] Couldn't render template "foo.html: file error - foo.html: not found" | |
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8; Content-Length: unknown | |
[info] Request took 0.01427s (70.077/s) | |
.------------------------------------------------------------+-----------. | |
| Action | Time | | |
+------------------------------------------------------------+-----------+ | |
| /index | 0.000141s | | |
| /end | 0.001407s | | |
| -> MyApp::View::Web->process | 0.000711s | | |
'------------------------------------------------------------+-----------' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment