warnings - Perl pragma to control optional warnings River stage five • 10705 direct dependents • 31428 total dependents

The "warnings" pragma gives control over which warnings are enabled in which parts of a Perl program. It's a more flexible alternative for both the command line flag -w and the equivalent Perl variable, $^W. This pragma works just like the "strict" p...

SHAY/perl-5.32.1 - 23 Jan 2021 14:56:24 UTC

warnings - Perl pragma to control optional warnings River stage five • 10705 direct dependents • 31428 total dependents

The "warnings" pragma gives control over which warnings are enabled in which parts of a Perl program. It's a more flexible alternative for both the command line flag -w and the equivalent Perl variable, $^W. This pragma works just like the "strict" p...

XSAWYERX/perl-5.32.0 - 20 Jun 2020 20:38:54 UTC

warnings - Perl pragma to control optional warnings River stage five • 10705 direct dependents • 31428 total dependents

The "warnings" pragma gives control over which warnings are enabled in which parts of a Perl program. It's a more flexible alternative for both the command line flag -w and the equivalent Perl variable, $^W. This pragma works just like the "strict" p...

XSAWYERX/perl-5.34.0 - 20 May 2021 20:07:59 UTC

Test::Warnings - Test for warnings and the lack of them River stage four • 221 direct dependents • 8377 total dependents

If you've ever tried to use Test::NoWarnings to confirm there are no warnings generated by your tests, combined with the convenience of "done_testing" to not have to declare a test count, you'll have discovered that these two features do not play wel...

ETHER/Test-Warnings-0.031 - 13 Jul 2021 22:39:18 UTC

warnings::lock - Lock down the set of warnings active in a lexical scope River stage zero No dependents

This module allows you to lock down the set of warnings active within a lexical scope. This is useful to protect yourself from other modules you "use" overwriting the warnings configuration you set up....

FLORA/warnings-lock-1 - 09 Jul 2015 15:17:26 UTC

warnings::unused - Produces warnings when unused variables are detected River stage one • 2 direct dependents • 2 total dependents

Note: The author no longer maintain this module. Consider Test::Vars if you detect unused vars as a unit test. This pragmatic module extends lexical warnings to complain about unused variables. It produces warnings when a "my" variable or "state" var...

GFUJI/warnings-unused-0.06 - 05 May 2013 13:25:33 UTC

warnings::method - Produces warnings if methods are called as functions River stage zero No dependents

You shouldn't call a method as a function, e.g. "UNIVERSAL::isa($o, 'ARRAY')". It's considered harmful, because such code doesn't call overridden methods in any classes. This pragmatic module produces warnings if methods are called as functions. Here...

GFUJI/warnings-method-0.10 - 18 Nov 2008 04:31:34 UTC

warnings::compat - warnings.pm emulation for pre-5.6 Perls River stage zero No dependents

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 u...

SAPER/warnings-compat-0.07 - 10 Sep 2008 23:20:33 UTC

Warnings::Version - Load warnings from a specific version of perl River stage zero No dependents

Since newer versions of perl may add new warning categories, it can be annoying getting spurious warnings for code that used to work completely fine on a previous version of perl. This module only loads the warning categories that exist on both the p...

COFFEE/Warnings-Version-0.003002 - 19 Jun 2015 12:22:59 UTC

warnings::anywhere - an alias for warnings::everywhere River stage zero No dependents

A more grammatical name for warnings::everywhere, when you're turning off warnings....

SKINGTON/warnings-everywhere-0.030 - 15 Feb 2017 00:50:07 UTC

warnings::pedantic - Dubious warnings for dubious constructs. River stage zero No dependents

Besides the "pedantic" category, which enables all of the following, the module also provides separate categories for individual groups of warnings: * void_grep Warns on void-context "grep": grep /42/, @INC; grep { /42/ } @INC; This code is not parti...

HUGMEIR/warnings-pedantic-0.02 - 27 Jun 2014 14:06:11 UTC

warnings::register - warnings import function River stage five • 10705 direct dependents • 31428 total dependents

Creates a warnings category with the same name as the current package. See warnings for more information on this module's usage....

XSAWYERX/perl-5.32.0 - 20 Jun 2020 20:38:54 UTC

encoding::warnings - Warn on implicit encoding conversions River stage one • 2 direct dependents • 2 total dependents

Overview of the problem By default, there is a fundamental asymmetry in Perl's unicode model: implicit upgrading from byte-strings to unicode-strings assumes that they were encoded in *ISO 8859-1 (Latin-1)*, but unicode-strings are downgraded with UT...

AUDREYT/encoding-warnings-0.11 - 05 Jun 2007 12:48:28 UTC

warnings::register - warnings import function River stage five • 10705 direct dependents • 31428 total dependents

Creates a warnings category with the same name as the current package. See warnings for more information on this module's usage....

SHAY/perl-5.32.1 - 23 Jan 2021 14:56:24 UTC

warnings::register - warnings import function River stage five • 10705 direct dependents • 31428 total dependents

Creates a warnings category with the same name as the current package. See warnings for more information on this module's usage....

XSAWYERX/perl-5.34.0 - 20 May 2021 20:07:59 UTC

warnings::everywhere - a way of ensuring consistent global warning settings River stage zero No dependents

Warnings are great - in your own code. Tools like prove, and libraries like Moose and Modern::Perl, turn them on for you so you can spot things like ambiguous syntax, variables you only used once, deprecated syntax and other useful things. By default...

SKINGTON/warnings-everywhere-0.030 - 15 Feb 2017 00:50:07 UTC

warnings::MaybeFatal - make warnings FATAL at compile-time only River stage zero No dependents

Because it's kind of annoying if a warning stops your program from being compiled, but it's *really* annoying if it breaks your program part way through actually executing. This lexically scoped pragma will make all warnings (including custom warning...

TOBYINK/warnings-MaybeFatal-0.005 - 03 Feb 2017 12:45:08 UTC

warnings::illegalproto - Disable illegal prototype warnings on old Perls River stage two • 4 direct dependents • 27 total dependents

This module was implemented so that people can "use strictures" and "use signatures" at the same time. Thanks to mst, in Perl 5.12 and greater this is trivial, but before that a strange dance had to be done. This module will do the right thing for bo...

FREW/warnings-illegalproto-0.001003 - 24 Jul 2014 13:52:57 UTC

warnings::DynamicScope - Provides warning categories in dynamic scope. River stage zero No dependents

This module provides warning categories in dynamic scope through the special variable "%^W". VARIABLE This modules brings a new special variable called "%^W". Yes, it is very similar to special variable "$^W" in appearance, but these are different th...

KMIYAZAKI/warnings-DynamicScope-1.04 - 15 Aug 2005 16:00:28 UTC

DocSet::5005compat - perl 5.005_03 compatibility module River stage zero No dependents

This module encapsulates the functionalities/modules unavailable under 5.005_03. Currently it only creates the warnings pragma's shell, so the code like: use warnings; won't fail under 5.005_03....

STAS/DocSet-0.19 - 03 Oct 2005 06:28:27 UTC
33 results (0.018 seconds)