Subject: | VERSION check does not notice Readonly::Scalar version |
It's broken in 0.15, but that's not an option above.
Basically, doing something like:
Readonly::Scalar our ($VERSION) => '$Revision: 1.21.12.9 $' =~ m{ \$Revision: \s+ (\S+) }x;
Fails two checks - one is that the VERSION checker doesn't know that Readonly::Scalar is
ignorable. The second is that $Revision$ doesn't need to be interpolated, but that's ignored by
## no critic - but $VERSION isn't something that can just be skipped.
However, this doesn't look like a simple fix. It would appear that PPI::Statement::Variable is not
matching the above.