=================================================================== RCS file: /cvs/todotxt/Text-Todo/bin/dudelicious.pl,v retrieving revision 1.2 retrieving revision 1.4 diff -u -r1.2 -r1.4 --- todotxt/Text-Todo/bin/dudelicious.pl 2010/04/26 21:27:57 1.2 +++ todotxt/Text-Todo/bin/dudelicious.pl 2010/04/28 01:50:47 1.4 @@ -2,6 +2,8 @@ package Dudelicious; +use version; our $VERSION = qv('0.1.0'); + BEGIN { use FindBin; use lib "$FindBin::Bin/mojo/lib" } use Mojolicious::Lite; @@ -13,7 +15,7 @@ $self->render_text($self->param('groovy'), layout => 'funky'); }; -app->start; +app->start unless caller(); __DATA__ @@ index.html.ep @@ -25,3 +27,103 @@