Subject: | Namespace for autotree objects |
I like the <autotree> directive, and the parse trees generated nearly
always meet my needs, without resorting to writing my own actions.
However, this blesses the objects into a top level package namespace.
I use this in scripts quite a lot. However, I am reluctant to release
any CPAN modules that use this technique as they will be polluting the
module users' package namespace, and could collide.
What would resolve this issue is a namespace prefix. Something like:
<autotree My::Module>
or
<autotree namespace="My::Module">
and all autotree nodes will be blessed into My::Module::nodename
instead of nodename.