Subject: | feature request: a mechanism to exempt snippets of code from a check |
Moose documents its minimum version as perl 5.8.3 and strives to not exceed that. Moose::Util::TypeConstraints (line 623 currently) has some conditional code that uses 5.10+ regex syntax if we are running on 5.10+, but falls back to a 5.8-compliant version otherwise.
It would be nice if we could mark the 5.10-requiring section of code as "do not check this for minimum version", so we can still use the [MinimumPerl] or [Test::MinimumVersion] dzil plugins for Moose development and not get a false negative on this code.