allow safe overriding of immutable_trait
authorYuval Kogman <nothingmuch@woobling.org>
Sun, 19 Apr 2009 15:25:14 +0000 (17:25 +0200)
committerYuval Kogman <nothingmuch@woobling.org>
Mon, 20 Apr 2009 13:29:17 +0000 (15:29 +0200)
commita7b17d6fc75ce892245cccdc37c72d214c62b58c
tree281c501d7cfeb58ae357714d7e8aac3b57dd6e27
parent29d4e92ae9c54d6a4a9b949a10e22d2163653470
allow safe overriding of immutable_trait

Generates a class name that involves a prefix, the metaclass name and
the trait name when overidden.

when the default immutable_trait is used (99.99999% of the cases ;-) the
name is shorter and omits the immutable trait
lib/Class/MOP.pm
lib/Class/MOP/Class.pm
lib/Class/MOP/Class/Immutable/Class/MOP/Class.pm [new file with mode: 0644]
t/000_load.t