Skip Menu |

This queue is for tickets about the Class-Declare CPAN distribution.

Report information
The Basics
Id: 105730
Status: resolved
Priority: 0/
Queue: Class-Declare

People
Owner: ibb [...] cpan.org
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.18



Subject: incorrect VERSION sub
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.
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.