Skip to main content

Module deprecated

Module deprecated 

Source
Expand description

Deprecated syntax lint checks

This module provides functionality for detecting deprecated Perl syntax and generating appropriate diagnostic warnings.

§Diagnostic codes

CodeSeverityDescription
deprecated-definedWarningdefined(@array) or defined(%hash) is deprecated
deprecated-array-baseWarning$[ variable is deprecated since Perl 5.12

Functions§

check_deprecated_syntax
Check for deprecated syntax