This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #38205] misleading typo in perlfaq8
[perl5.git] / pod / perl561delta.pod
index ef4caa7..ab6067c 100644 (file)
@@ -763,13 +763,13 @@ as requiring an automatic lock() when it is entered, you had to declare
 that with a C<use attrs> pragma in the body of the subroutine.
 That can now be accomplished with declaration syntax, like this:
 
-    sub mymethod : locked method ;
+    sub mymethod : locked method;
     ...
     sub mymethod : locked method {
        ...
     }
 
-    sub othermethod :locked :method ;
+    sub othermethod :locked :method;
     ...
     sub othermethod :locked :method {
        ...