{"author_url":"https://blog.hatena.ne.jp/gfx/","type":"rich","author_name":"gfx","blog_url":"https://gfx.hatenadiary.org/","url":"https://gfx.hatenadiary.org/entry/20100220/1266650404","published":"2010-02-20 16:20:04","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20100220%2F1266650404\" title=\" Strict constructor is available in Mouse - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"categories":["Perl"],"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":" Strict constructor is available in Mouse","blog_title":"Islands in the byte stream (legacy)","width":"100%","description":"Strict constructor, which will warn unknown (maybe misspelled) arguments, is as useful as the strict pragma. For Moose, there is an extention to provide strict constructor: MooseX::StrictConstructor. Now Mouse 0.50_02 supports strict constructor natively: package MyClass; use Mouse; ...; # note that\u2026","height":"190"}