NAME

Modern::PBP::Perl - Loading pragmas and Modules for 'Perl Best Practices'

VERSION

This document describes Modern::PBP::Perl version 1.300.

SYNOPSIS

   use Modern::PBP::Perl;
   or
   use Modern::PBP::Perl qw{5.20};
   or
   use Modern::PBP::Perl qw{-switch lexical_subs}
   or
   use Modern::PBP::Perl qw{5.22 -switch +match_vars}
   or
   use Modern::PBP::Perl qw{-switch 5.14 +match_vars}

DESCRIPTION

Loading all the features of the current Perl version installed, or the specified version of Perl. The corresponding warnings are deactivated. If a version of Perl is specified, this must be less than or equal to that is installed.

Should one or more features not be activated or a warning will remain active, this may be given on the version (the minus or plus sign is optional).

In addition, the pragma 'strict' and 'version' will be imported as well as the alternatives for the special variables (use English) transferred in the calling package. By default, the variables 'MATCH', 'PREMATCH' and 'POST MATCH' not accepted. However, these can be aktivieret by specifying '+match_vars'.

The modules

   IO :: File
   IO :: Handle

are precisely the case with imports.

INTERFACE

Contains no routines that are invoked explicitly.

import

Called automatically when integrating.

unimport

Called automatically when you leave the name space.

DIAGNOSTICS

Version '5.xx' not detected

The version of the installed PERL could not be determined.

Version (5.xx) not supports

The transferred PERL version is not supported.

Features '5.xx' in '5.xx' not available

he requested PERL version is higher than the installed.

Can't execute 'use qw{5.xx}'

The requested PERL version can not be activated.

Feature 'xxxxx' in version '5.xx' not available.

he feature to be removed is not included in the selected version of Perl.

Unknown feature/warning for delete 'xxxxx'

The feature to be removed is unknown.

Can't create English match variablen

The import of the match variables failed

CONFIGURATION AND ENVIRONMENT

PBP::Perl requires no configuration files or environment variables.

DEPENDENCIES

The following pragmas and modules are required:

CORE

   - feature
   - mro
   - strict
   - version
   - warnings

   - Carp
   - English
   - Exporter
   - IO::File
   - IO::Handle

CPAN or ActiveState Repository

   - Perl::Version

INCOMPATIBILITIES

The module works with Perl version 5.10 to and 5.30. Developers Perl versions are not supported.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-perl-modern-moose@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

Juergen von Brietzke - JVBSOFT <juergen.von.brietzke@t-online.de>

LICENCE AND COPYRIGHT

Copyright (c) 2015, 2016, 2019 Juergen von Brietzke <juergen.von.brietzke@t-online.de>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/artistic.html.

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.