From: Rafael Garcia-Suarez Date: Wed, 25 Oct 2006 09:56:06 +0000 (+0000) Subject: Document that warnings.pm doesn't load Carp anymore X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=18857c0b9a4a6ccbd858fbf7ee28ac44fa382b14;p=p5sagit%2Fp5-mst-13.2.git Document that warnings.pm doesn't load Carp anymore p4raw-id: //depot/perl@29102 --- diff --git a/pod/perl595delta.pod b/pod/perl595delta.pod index db10827..43949c8 100644 --- a/pod/perl595delta.pod +++ b/pod/perl595delta.pod @@ -108,6 +108,17 @@ use it at the end of a prototype, or before a semicolon. The C pragma now warns if a class tries to inherit from itself. +=item C + +The C pragma doesn't load C anymore. That means that code +that used C routines without having loaded it at compile time might +need to be adjusted; typically, the following (faulty) code won't work +anymore, and will require parentheses to be added after the function name: + + use warnings; + require Carp; + Carp::confess "argh"; + =back =head1 Utility Changes