Elliot Shank

NAME

Perl::Critic::Compatibility - Policies for Perl::Critic concerned with compatibility with various versions of Perl.

AFFILIATION

This module has no functionality, but instead contains documentation for this distribution and acts as a means of pulling other modules into a bundle. All of the Policy modules contained herein will have an "AFFILIATION" section announcing their participation in this grouping.

VERSION

This document describes Perl::Critic::Compatibility version 1.001.

SYNOPSIS

Some Perl::Critic policies that will help you keep your code compatible with other versions of Perl, regardless of the version that you're developing with. This includes both backward and forward compatibility.

DESCRIPTION

The included policies are:

Perl::Critic::Policy::Compatibility::ProhibitColonsInBarewordHashKeys

Perls after 5.8 don't support having colons in unquoted hash keys. [Severity: 5]

Perl::Critic::Policy::Compatibility::ProhibitThreeArgumentOpen

Perls prior to 5.6 didn't support three argument open. [Severity: 5]

INTERFACE

None. This is nothing but documentation.

DIAGNOSTICS

None. This is nothing but documentation.

CONFIGURATION AND ENVIRONMENT

All policies included are in the "compatibility" theme. See the Perl::Critic documentation for how to make use of this.

DEPENDENCIES

Perl::Critic

INCOMPATIBILITIES

None reported.

BUGS AND LIMITATIONS

No bugs have been reported.

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

ACKNOWLEDGMENTS

Adam Kennedy for inspiring this. Nay, demanding it.

AUTHOR

Elliot Shank <perl@galumph.com>

LICENSE AND COPYRIGHT

Copyright (c)2008, Elliot Shank <perl@galumph.com>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

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 LICENSE, 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.