perllexwarn - Perl Lexical Warnings
Perl v5.6.0 introduced lexical control over the handling of warnings by category. The warnings pragma generally replaces the command line flag -w. Documentation on the use of lexical warnings, once partly found in this document, is now found in the warnings documentation.
warnings
To install subs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm subs
CPAN shell
perl -MCPAN -e shell install subs
For more information on module installation, please visit the detailed CPAN module installation guide.