summaryrefslogtreecommitdiff
path: root/lib/warnings
Commit message (Collapse)AuthorAgeFilesLines
* rename &warnings::register to avoid ambiguityRicardo Signes2010-09-121-2/+2
| | | | | until this change code calling "warnings::register->import" was confused by &warnings::register existing.
* Bump $warnings{,::register}::VERSIONFlorian Ragwitz2010-09-101-1/+1
|
* improve registration of warning categoriesRicardo Signes2010-09-101-10/+7
| | | | | | | | | | | | | | | | | | | | 1. &warnings::register is added as the public mechanism for adding new warning categories, rather than warnings::register::import knowing about warnings's internals 2. warnings::register::import is updated to use &warnings::register 3. warnings::register::import can take a list of subcategories The upshot is that you can now write: package MyTool; use warnings::register qw(io typos); warnings::warnif('MyTool::io', $message); ...and tools that register new warnings categories do not need to cargo cult code from warnings/register.pm
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-121-1/+1
| | | p4raw-id: //depot/perl@26804
* Doc/style fixes pointed out by GisleRafael Garcia-Suarez2005-10-171-18/+18
| | | p4raw-id: //depot/perl@25777
* Retract #12136, the warnings::register is alreadyJarkko Hietaniemi2001-09-242-96/+0
| | | | | | tested by t/lib/warnings/9enabled, as pointed out by Paul Marquess. p4raw-id: //depot/perl@12185
* (Retracted by #12185)chromatic2001-09-222-0/+96
| | | | | | | Subject: [PATCH MANIFEST lib/warnings/register.t lib/warnings/register.pm] Add Tests for warnings::register, Doc Update Message-Id: <20010922154815.32004.qmail@onion.perl.org> p4raw-id: //depot/perl@12136
* RE: Untested libraries updatePaul Marquess2001-09-211-0/+11
| | | | | Message-ID: <AIEAJICLCBDNAAOLLOKLOEENDAAA.Paul_Marquess@Yahoo.co.uk> p4raw-id: //depot/perl@12115
* Move the locale/strict/warnings helper files backJarkko Hietaniemi2001-06-1833-6929/+0
| | | | | | under the t/lib; this way the amount of non-installabled stuff under lib/ stays smaller. p4raw-id: //depot/perl@10686
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-1833-0/+6929
| | | | | | | | | | | | | | | | | | | | | | | | No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676
* $VERSION crusade, strict, tests, etc... all over lib/Michael G. Schwern2000-12-061-0/+2
| | | | | | | Message-ID: <20001205212328.C6473@blackrider.aocn.com> Carp::Heavy parts not very applicable because of recent changes. p4raw-id: //depot/perl@8013
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* final touches for lexical warnings (from Paul Marquess)Gurusamy Sarathy2000-03-131-0/+30
p4raw-id: //depot/perl@5702