use parent::versioned 'Foo'; # No version checking.
use parent::versioned qw(Foo Bar); # No version checking.
use parent::versioned --norequire qw(Foo Bar); # Still no version chec
+king.
use parent::versioned ['Foo' => 0.23], ['Bar' => 1.5], 'Baz'; # Versio
+n checking on Foo and Bar.
use parent::versioned --norequire 'Baz', ['Foo' => 0.23]; # Version ch
+ecking on Foo.
Implementation would be really straightforward as a fork off of existing parent (so as not to clutter parent with baggage).
Hashrefs could be used instead, so that multiple entries could reside within a single hashref, but the array-ref keeps things nicely flat.
|