On Tue Jul 07 13:57:38 2015, ETHER wrote:
Show quoted text> This implementation is wrong. See perldoc UNIVERSAL. A VERSION sub
> should check the arguments that are passed in. This sub can just be
> removed, to make it behave properly.
Thanks for the bug report. Version v0.18 of Class::Declare is now on its way to CPAN to address this. I have left the VERSION() sub in place in order to preserve the fallback to REVISION(), but its behaviour should now match that of UNIVERSAL::VERSION(). In the future, the REVISION() may be removed at which point VERSION() can also be removed in favour of UNIVERSAL::VERSION().
Please let me know if v0.18 does not address your needs.