> @@ -496,6 +496,7 @@ block is optional.
>
> The BLOCK construct can be used to emulate case structures.
>
> + # Don't use this from perl 5.10 on, use feature "switch" instead
> SWITCH: {
> if (/^abc/) { $abc = 1; last SWITCH; }
> if (/^def/) { $def = 1; last SWITCH; }
> @@ -841,7 +842,7 @@ and your documentation text freely, as in
>
what?
placing essential explanations within the comment?
Where is the declared consistency?
And, user must learn to write such a comments?
CODE CODE CODE # I must be using "switch" from now on
CODE CODE CODE
:)
Thread Previous
|
Thread Next