From: M.J.T. Guy Date: Fri, 10 Jan 1997 18:06:37 +0000 (+0000) Subject: Re: documentation correction (i.e. patch) for perlsyn.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b23ba8bf333ecdd596fc7a34132e421bebc54a2;p=p5sagit%2Fp5-mst-13.2.git Re: documentation correction (i.e. patch) for perlsyn.pod Robin Barker wrote > Is this the right correction for perlsyn.pod regarding C ? > > Is it too honest?? It doesn't seem sensible to fill up the pods with history like this. In fact, perltrap has listed the feature as discontinued rather than deprecated, since at least 5.002. It's been gone for well over a year and nobody's complained. Let's just bury it. I suggest replacing Robin's patch by p5p-msgid: --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 9cf39a3..91a601a 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -220,11 +220,8 @@ If the word C is replaced by the word C, the sense of the test is reversed, but the conditional is still tested before the first iteration. -In either the C or the C statement, you may replace "(EXPR)" -with a BLOCK, and the conditional is true if the value of the last -statement in that block is true. While this "feature" continues to work in -version 5, it has been deprecated, so please change any occurrences of "if BLOCK" to -"if (do BLOCK)". +The form C, available in Perl 4, is no longer +available. Replace any occurrence of C by C. =head2 For Loops