Closed tobyink closed 11 years ago
A possible extension to this would be to support:
class Bar 1.0 extends Foo 1.1 {
}
... which would die if the available version of Foo is less than 1.1.
I do think that the
class Bar extends Foo 1.1 { }
syntax is also a good idea (should be for all of extends
, with
, and metaclass
).
Since 5.14, Perl has supported this syntax for declaring a version number for a package:
This pull request adds similar version declaration to the
class
androle
keywords: