I found this distribution on CPAN when looking for a way to parse TMX files (no surprises there...), but I was discouraged to see that it used Moose, since my game currently does not use it, and I'm not keen on loading it only so that I can parse what is otherwise a straightforward XML file.
Would you be open to the idea of porting this to Moo instead? The changes would be fairly minimal. The only thing that does not come with Moo out of the box is the type validation, and that can be accomplished with a library like Type::Tiny, which has no external dependencies.
As an aside, with the support for TSX files implemented in #2, it might be a good idea to expose at least Map and TileSet objects for users who would be interested only in parsing the TSX files, for example.
Thoughts?
I found this distribution on CPAN when looking for a way to parse TMX files (no surprises there...), but I was discouraged to see that it used Moose, since my game currently does not use it, and I'm not keen on loading it only so that I can parse what is otherwise a straightforward XML file.
Would you be open to the idea of porting this to Moo instead? The changes would be fairly minimal. The only thing that does not come with Moo out of the box is the type validation, and that can be accomplished with a library like Type::Tiny, which has no external dependencies.
As an aside, with the support for TSX files implemented in #2, it might be a good idea to expose at least Map and TileSet objects for users who would be interested only in parsing the TSX files, for example.
Thoughts?