File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ context.
265265A field with a C<:writer> attribute will generate a writer accessor method
266266automatically. The generated method will have a signature that consumes
267267exactly 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
286286to apply this attribute to a non-scalar field will result in a fatal exception
287287at compile-time. This may be relaxed in a future version to allow writers on
288288array or hash fields. For now, these will have to be created manually.
You can’t perform that action at this time.
0 commit comments