NAME
App::perl::distrolint::Check::UseVERSION - check that every perl file contains use VERSION
DESCRIPTION
This checks that every Perl source code file contains a use VERSION declaration as its first significant statement. A package statement is permitted before this, but no other code is allowed.
CONFIGURATION
The following extra configuration may be added to the [check UseVERSION] section of distrolint.ini:
min_version
min_version = v5.NN
If present, the use VERSION declaration at the start of every checked Perl source file must be at least this given version. If a version number lower is found then the check fails.
The minimum version part of the check does not apply to Build.PL or Makefile.PL as those files should remain runnable by any version of Perl.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>