INABA Hitoshi > Char-USASCII-0.87 > warnings

Download:
Char/USASCII/Char-USASCII-0.87.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: Char-USASCII-0.92

NAME ^

warnings - poor warnings.pm to emulate "use warnings;"

SYNOPSIS ^

    use warnings;
    no warnings;

    use warnings "all";
    no warnings "all";

    use warnings::register;
    if (warnings::enabled()) {
        warnings::warn("some warning");
    }

    if (warnings::enabled("void")) {
        warnings::warn("void", "some warning");
    }

    if (warnings::enabled($object)) {
        warnings::warn($object, "some warning");
    }

    warnings::warnif("some warning");
    warnings::warnif("void", "some warning");
    warnings::warnif($object, "some warning");

ABSTRACT ^

This file helps to make your perl interpreter modern.

DEPENDENCIES ^

This software requires perl5.00503 or later.

AUTHOR ^

INABA Hitoshi <ina@cpan.org>

This project was originated by INABA Hitoshi.

LICENSE AND COPYRIGHT ^

This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See 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.

ACKNOWLEDGEMENTS ^

This software was made referring to software and the document that the following hackers or persons had made. I am thankful to all persons.

 Sebastien Aperghis-Tramoni, warnings-compat
 http://search.cpan.org/dist/warnings-compat/
syntax highlighting: