Subject: | Role::Tiny composite name produced by apply_roles_to_object can produce invalid package names |
2015-04-02 17:39:49 <Grinnz_> mst: i've noticed randomly that my daemons which load a lot of moo roles dynamically sometimes fail to startwith "blah__WITH__blah__AND__blah__AND__ ... __AND__blah:__A000' is not a module name"
2015-04-02 17:39:58 <Grinnz_> could that be cause it cuts off in the middle of that last module name's colons?
...
2015-04-02 17:46:36 <mst> Grinnz_: _composite_name method in Role::Tiny
2015-04-02 17:46:48 <mst> would produce the exact behaviour you've just seen
...
2015-04-02 17:51:17 <mst> and I think ideally we should be producing package names that actually make sense
2015-04-02 18:25:41 <haarg> mst: what did you have in mind for 'make sense' in this case?
2015-04-02 18:26:08 <haarg> fixing the : thing on its own will be easy
2015-04-02 22:22:31 <mst> haarg: I figured "if trailing :, strip" would be ok
2015-04-02 22:23:37 <mst> haarg: or double, depending