![]() ![]() | ![]() |
version 1.1, 2010/04/26 20:44:15 | version 1.3, 2010/04/26 21:44:30 | ||
---|---|---|---|
|
|
||
#!/usr/bin/env perl | #!/usr/bin/env perl | ||
package Dudelicious; | |||
BEGIN { use FindBin; use lib "$FindBin::Bin/mojo/lib" } | |||
use Mojolicious::Lite; | use Mojolicious::Lite; | ||
get '/' => 'index'; | get '/' => 'index'; | ||
|
|
||
$self->render_text($self->param('groovy'), layout => 'funky'); | $self->render_text($self->param('groovy'), layout => 'funky'); | ||
}; | }; | ||
app->start; | app->start unless caller(); | ||
__DATA__ | __DATA__ | ||
@@ index.html.ep | @@ index.html.ep |