summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 495e2ff2e9..f61ee697c1 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -679,9 +679,9 @@ 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 a declaration syntax, like this:
- sub mymethod : locked, method ;
+ sub mymethod : locked method ;
...
- sub mymethod : locked, method {
+ sub mymethod : locked :method {
...
}
@@ -1914,14 +1914,14 @@ The offending range is now explicitly displayed.
=item Invalid separator character %s in attribute list
-(F) Something other than a comma or whitespace was seen between the
+(F) Something other than a colon or whitespace was seen between the
elements of an attribute list. If the previous attribute
had a parenthesised parameter list, perhaps that list was terminated
too soon. See L<attributes>.
=item Invalid separator character %s in subroutine attribute list
-(F) Something other than a comma or whitespace was seen between the
+(F) Something other than a colon or whitespace was seen between the
elements of a subroutine attribute list. If the previous attribute
had a parenthesised parameter list, perhaps that list was terminated
too soon.