Converted this extension to use MetaRole
authorDave Rolsky <autarch@urth.org>
Fri, 11 Sep 2009 14:20:32 +0000 (09:20 -0500)
committerDave Rolsky <autarch@urth.org>
Fri, 11 Sep 2009 14:20:32 +0000 (09:20 -0500)
commit8eec3c69ee4aa161601b0255c3b32cd6d9cc6998
tree99357efa7337ee722ba8077f19afcad9fc9e0ce3
parentb1882d9b6ec47b18a97dadb6e1326305d890c806
Converted this extension to use MetaRole

This is a bit gross, but it works, and it cooperates with MX::StrictConstructor, at least.
lib/MooseX/Singleton.pm
lib/MooseX/Singleton/Role/Meta/Class.pm [moved from lib/MooseX/Singleton/Meta/Class.pm with 57% similarity]
lib/MooseX/Singleton/Role/Meta/Instance.pm [moved from lib/MooseX/Singleton/Meta/Instance.pm with 74% similarity]
lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm [moved from lib/MooseX/Singleton/Meta/Method/Constructor.pm with 67% similarity]
lib/MooseX/Singleton/Role/Object.pm [moved from lib/MooseX/Singleton/Object.pm with 80% similarity]
t/006-cooperative.t [new file with mode: 0644]