NAME
Term::CLI::PerlFeatures - turn on modern-ish Perl features
VERSION
version 0.052002
SYNOPSIS
Instead of:
use 5.014_001; # use strict is implicit
use warnings;
Or:
use Modern::Perl '2012';
Write:
use Term::CLI::PerlFeatures;
DESCRIPTION
This module provides a simplified alternative to Modern::Perl(3p). It provides the equivalent of use Modern::Perl '2012'
sans mro(3p), while avoiding a dependency on an external module.
It just turns on perl 5.14 features (which automatically turns on strict
), and makes sure warnings
is set as well.
Since multiple inheritance is not used in Term::CLI, we don't need to depend on mro(3p), so Modern::Perl(3p) is overkill.
SEE ALSO
feature(3p), Modern::Perl(3p), mro(3p).
AUTHOR
Steven Bakker (SBAKKER) <sbakker@cpan.org>, 2021.
COPYRIGHT AND LICENSE
Copyright (c) 2021 Steven Bakker
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perldoc perlartistic."
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.