From: Jonathan Rockway Date: Wed, 29 Apr 2009 15:57:35 +0000 (-0500) Subject: create instance, what-the-hey X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d8080387c50d28510cc2d5571553568904e8d80a;p=gitmo%2FMooseX-Runnable.git create instance, what-the-hey --- diff --git a/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm b/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm index f2d6c8d..4dd3993 100644 --- a/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm +++ b/lib/MooseX/Runnable/Invocation/Plugin/PAR.pm @@ -33,6 +33,7 @@ around run => sub { eval { # this is probably not possible, but we might as well try $self->validate_class($class); + $self->create_instance($class, @args); }; }