warnings - Perl pragma to control optional warnings River stage five • 10141 direct dependents • 30140 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 - Search in distribution

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 - Search in distribution

lib/Apache/Test5005compat.pm River stage three • 65 direct dependents • 105 total dependents

SHAY/Apache-Test-1.41 - 11 Jul 2019 07:37:01 GMT - Search in distribution
  • Apache::Test - Test.pm wrapper with helpers for testing Apache

Test::Warnings - Test for warnings and the lack of them River stage four • 200 direct dependents • 8759 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.026 - 27 Jan 2016 03:14:17 GMT - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

Perl5::Build::Warnings - Parse make output for build-time warnings River stage zero No dependents

Perl5::Build::Warnings is a module for use in studying build-time warnings emitted by make when building the Perl 5 core distribution from source code. Prerequisites CPAN module Capture::Tiny is used in this library's test suite, but not in the modul...

JKEENAN/Perl5-Build-Warnings-0.03 - 31 Oct 2018 22:18:25 GMT - Search in distribution

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 GMT - Search in distribution

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

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

EXODIST/Test2-Suite-0.000125 - 19 Aug 2019 17:41:43 GMT - Search in distribution

PERLANCAR::warnings::all - Turn on warnings (all) with less code River stage one • 1 direct dependent • 1 total dependent

Just an experimental module (probably silly). Some notes: the bits depend on the perl used when building the dist....

PERLANCAR/PERLANCAR-warnings-all-0.01 - 23 Mar 2016 13:11:13 GMT - Search in distribution

3,454 results (0.243 seconds)