X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FRunnable.pm;h=77189dc2e7c87b18309ada2b8c81be89ef0ca703;hb=6c3ff9ca7da627e2c68ec52f93fe70f0ffae77a8;hp=f4a39b64099713904fb6ea5d3925133968132c09;hpb=cb1a0bc28fc2b41b2e079b687d1868527e42eab5;p=gitmo%2FMooseX-Runnable.git diff --git a/lib/MooseX/Runnable.pm b/lib/MooseX/Runnable.pm index f4a39b6..77189dc 100644 --- a/lib/MooseX/Runnable.pm +++ b/lib/MooseX/Runnable.pm @@ -1,7 +1,7 @@ package MooseX::Runnable; use Moose::Role; -our $VERSION = '0.00_01'; +our $VERSION = '0.00_02'; requires 'run'; @@ -62,15 +62,18 @@ run it, using C. The syntax is: + mx-run Class::Name + mx-run -- Class::Name for example: - mx-run -Ilib -- App::HelloWorld --args --go --here + mx-run -Ilib App::HelloWorld --args --go --here or: - mx-run -Ilib +Persistent --port 8080 -Persistent -- App::HelloWorld --args --go --here + mx-run -Ilib +Persistent --port 8080 -- App::HelloWorld --args --go --here + =head2 C If you don't want to invoke your app with C, you can write a