Skip to content

Commit

Permalink
more temporary work-arounds :(
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmay committed Jan 2, 2011
1 parent 438f493 commit c05df70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IoC/ConstructorInjection.pm6
Expand Up @@ -22,7 +22,7 @@ class IoC::ConstructorInjection does IoC::Service {
%params{$pair.key} = $!container.fetch($pair.value).get();
};

return $!class.new(|%params);
return eval("{$!class}.new(|%params)");
}
};

0 comments on commit c05df70

Please sign in to comment.