{"action":"created","issue":{"url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/1","labels_url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/1/comments","events_url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/1/events","html_url":"https://github.com/rjbs/Sub-Exporter-ForMethods/issues/1","id":65712024,"number":1,"title":"blessed subs are no longer blessed when passed through module_installed","user":{"login":"dakkar","id":86328,"avatar_url":"https://avatars.githubusercontent.com/u/86328?v=3","gravatar_id":"","url":"https://api.github.com/users/dakkar","html_url":"https://github.com/dakkar","followers_url":"https://api.github.com/users/dakkar/followers","following_url":"https://api.github.com/users/dakkar/following{/other_user}","gists_url":"https://api.github.com/users/dakkar/gists{/gist_id}","starred_url":"https://api.github.com/users/dakkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakkar/subscriptions","organizations_url":"https://api.github.com/users/dakkar/orgs","repos_url":"https://api.github.com/users/dakkar/repos","events_url":"https://api.github.com/users/dakkar/events{/privacy}","received_events_url":"https://api.github.com/users/dakkar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T15:29:02Z","updated_at":"2015-07-17T23:28:06Z","closed_at":"2015-07-17T23:28:06Z","body":"The code in `module_installer` wraps coderefs; if the original coderefs were blessed, the new ones won't be. This cause breakage downstream of `MooseX::Types::Structured` (see https://rt.cpan.org/Ticket/Display.html?id=103247 ) because `MooseX::Types` expects type subs to be blessed in a special package.\r\nSomething equivalent to the code in the patch attached to that RT ticket should probably be integrated in `module_installer` to make sure we don't lose blessedness anywhere."},"comment":{"url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/comments/122447219","html_url":"https://github.com/rjbs/Sub-Exporter-ForMethods/issues/1#issuecomment-122447219","issue_url":"https://api.github.com/repos/rjbs/Sub-Exporter-ForMethods/issues/1","id":122447219,"user":{"login":"rjbs","id":30682,"avatar_url":"https://avatars.githubusercontent.com/u/30682?v=3","gravatar_id":"","url":"https://api.github.com/users/rjbs","html_url":"https://github.com/rjbs","followers_url":"https://api.github.com/users/rjbs/followers","following_url":"https://api.github.com/users/rjbs/following{/other_user}","gists_url":"https://api.github.com/users/rjbs/gists{/gist_id}","starred_url":"https://api.github.com/users/rjbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjbs/subscriptions","organizations_url":"https://api.github.com/users/rjbs/orgs","repos_url":"https://api.github.com/users/rjbs/repos","events_url":"https://api.github.com/users/rjbs/events{/privacy}","received_events_url":"https://api.github.com/users/rjbs/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T23:28:06Z","updated_at":"2015-07-17T23:28:06Z","body":"Thanks, I have added a `rebless` option to `method_installer` in v0.100052"}}