NAME

warnings::compat - warnings.pm emulation for pre-5.6 Perls

DESCRIPTION

This is a module to help writing portable programs and modules across recent and old versions of Perl by providing a unique API to enable and disable warnings. Under the hood, it will use the real warnings.pm module when available, or install and use an emulation compatible with Perl 5.000. Therefore, "use warnings::compat" should do the right thing on every Perl version.

INSTALLATION

To install this module, run the following commands:

        perl Makefile.PL
        make
        make test
        make install

Alternatively, to install with Module::Build, you can use the following commands:

        perl Build.PL
        ./Build
        ./Build test
        ./Build install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc warnings::compat

You can also look for information at:

        Search CPAN
            http://search.cpan.org/dist/warnings-compat

        CPAN Request Tracker:
            http://rt.cpan.org/NoAuth/Bugs.html?Dist=warnings-compat

        AnnoCPAN, annotated CPAN documentation:
            http://annocpan.org/dist/warnings-compat

        CPAN Ratings:
            http://cpanratings.perl.org/d/warnings-compat

COPYRIGHT AND LICENCE

Copyright (C) 2006, 2007, 2008 Sebastien Aperghis-Tramoni

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