NAME

App::perl::distrolint::Check::StrictAndWarnings - check that every perl file sets the strict and warnings pragmata

DESCRIPTION

This checks that for every Perl source code file, there are no significant statements before both the strict and warnings pragmata are in effect.

A "significant statement" is considered to be most statements, with the exception of any package or use statement, as these typically appear right at the top of the file.

Either a use strict or a use VERSION with a version number set to v5.12 or higher are considered to enable strict.

Either a use warning or a use VERSION with a version number set to v5.35 or higher are considered to enable warnings.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>