The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:warnings"

warnings - Perl pragma to control optional warnings River stage five • 11292 direct dependents • 32664 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...

RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC

warnings - Perl pragma to control optional warnings River stage five • 11292 direct dependents • 32664 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...

PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 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

Test::Warnings - Test for warnings and the lack of them River stage five • 260 direct dependents • 13958 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.033 - 23 Jan 2024 03:33:37 UTC

warnings::unused - Produces warnings when unused variables are detected River stage one • 1 direct dependent • 1 total dependent

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::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 • 11292 direct dependents • 32664 total dependents

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

RJBS/perl-5.36.0 - 28 May 2022 00:26:10 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::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.031 - 29 Mar 2022 23:01:04 UTC

warnings::register - warnings import function River stage five • 11292 direct dependents • 32664 total dependents

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

PEVANS/perl-5.38.2 - 29 Nov 2023 16:10:36 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::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.031 - 29 Mar 2022 23:01:04 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

Try::Tiny::Warnings - extension to Try::Tiny to also catch warnings River stage two • 1 direct dependent • 10 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 UTC

String::Perl::Warnings - Determine if a string looks like a perl warning River stage one • 2 direct dependents • 7 total dependents

String::Perl::Warnings can be used to determine if a string of arbitary text appears to look like a warning generated by perl. It includes all warnings for every stable perl release from 5.6.0 to 5.20.1....

BINGOS/String-Perl-Warnings-1.16 - 15 Jan 2015 12:20:04 UTC
32 results (0.021 seconds)