Skip to content

Commit 9e152df

Browse files
esaboljkeenan
authored andcommitted
Typo and grammatical flaw spotted by Ed Sabol
1 parent 106347d commit 9e152df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlclass.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ context.
265265
A field with a C<:writer> attribute will generate a writer accessor method
266266
automatically. The generated method will have a signature that consumes
267267
exactly one argument, and its body will assign that scalar argument to the
268-
field, and return the invocant object itself.
268+
field and return the invocant object itself.
269269

270270
field $s :writer;
271271

@@ -282,7 +282,7 @@ can be specified in the attribute's value.
282282
# Generates a method
283283
method write_x ($new) { ... }
284284

285-
Curerently, writer accessors can only be applied to scalar fields. Attempts
285+
Currently, writer accessors can only be applied to scalar fields. Attempts
286286
to apply this attribute to a non-scalar field will result in a fatal exception
287287
at compile-time. This may be relaxed in a future version to allow writers on
288288
array or hash fields. For now, these will have to be created manually.

0 commit comments

Comments
 (0)