Hi Ovid,
thanks a lot for Role::Basic!
Some years ago I was looking for such a 'Tiny' module for simple mixins
when I was writing the Net::SNMP::Mixin modules. Anyway, I took
Sub::Exporter, since Role::Basic wasn't coded yet :-(
Recently I used Role::Basic for a new project and was excited!
Anyway, I'm missing a method to declare private subs in a Role package,
not exported to the class by 'with'.
As usually, first I tried method names with an underscore '_' in front,
like 'sub _private_sub { ... }', but Role::Basic doesn't respect this
convention.
The -excludes option for 'with' in the consuming class isn't enough.
There should already be an option in the role package itself to hide the
private sub from being exported since the consuming package should
nothing know about _private methods.
Best Regards
Charly