Change 28497 by [EMAIL PROTECTED] on 2006/07/06 16:35:37

        Error in the formulation of the new warning, spotted by Dominic Dunlop

Affected files ...

... //depot/perl/pod/perldiag.pod#446 edit

Differences ...

==== //depot/perl/pod/perldiag.pod#446 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod#445~28496~    2006-07-06 08:49:30.000000000 -0700
+++ perl/pod/perldiag.pod       2006-07-06 09:35:37.000000000 -0700
@@ -3750,7 +3750,7 @@
 (W misc) You're declaring a C<state> variable inside a list. The list
 assignment will be treated by perl as a regular assignment, which means
 that the C<state> variable will be reinitialized each time the statement
-is run. The solution to have it initialized twice is to write the
+is run. The solution to have it initialized only once is to write the
 assignment on its own line, as in:
 
     state $var = 42;
End of Patch.

Reply via email to