warnings - Perl pragma to control optional warnings River stage five • 10229 direct dependents • 30266 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.30.0 - 22 May 2019 09:35:50 GMT

warnings - Perl pragma to control optional warnings River stage five • 10229 direct dependents • 30266 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.30.1 - 10 Nov 2019 14:14:00 GMT

Test::Warnings - Test for warnings and the lack of them River stage four • 201 direct dependents • 8788 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.027 - 28 Sep 2019 04:07:02 GMT

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 GMT

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 GMT

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 GMT

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 GMT

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 GMT

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 GMT

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 GMT

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 GMT

warnings::register - warnings import function River stage five • 10229 direct dependents • 30266 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.30.1 - 10 Nov 2019 14:14:00 GMT

warnings::register - warnings import function River stage five • 10229 direct dependents • 30266 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.30.0 - 22 May 2019 09:35:50 GMT

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 GMT

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 GMT

warnings::illegalproto - Disable illegal prototype warnings on old Perls River stage two • 4 direct dependents • 24 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 GMT

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 GMT

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 GMT

Try::Tiny::Warnings - extension to Try::Tiny to also catch warnings River stage one • 1 direct dependent • 5 total dependents

"Try::Tiny::Warnings" adds a few keywords to Try::Tiny to deal with warnings. The first keyword, "try_fatal_warnings", behaves like "try", excepts that it also makes any "warn()" within its block behave like "die()". If the block dies because of such...

YANICK/Try-Tiny-Warnings-0.1.0 - 26 Nov 2016 19:49:27 GMT

Test2::Tools::Warnings - Tools to verify warnings. River stage four • 343 direct dependents • 5421 total dependents

This is a collection of tools that can be used to test code that issues warnings....

EXODIST/Test2-Suite-0.000127 - 31 Oct 2019 04:27:54 GMT

31 results (0.026 seconds)