warning - Perl pragma to control
use warning; use warning "all"; use warning "deprecated"; use warning; no warning "unsafe";
If no import list is supplied, all possible restrictions are assumed. (This is the safest mode to operate in, but is sometimes too strict for casual programming.) Currently, there are three possible things to be strict about:
warning deprecated
This generates a runtime error if you use deprecated
use warning 'deprecated';
See "Pragmatic Modules" in perlmod.
To install lib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm lib
CPAN shell
perl -MCPAN -e shell install lib
For more information on module installation, please visit the detailed CPAN module installation guide.