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.
265
265
A field with a C<:writer> attribute will generate a writer accessor method
266
266
automatically. The generated method will have a signature that consumes
267
267
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.
269
269
270
270
field $s :writer;
271
271
@@ -282,7 +282,7 @@ can be specified in the attribute's value.
282
282
# Generates a method
283
283
method write_x ($new) { ... }
284
284
285
- Curerently , writer accessors can only be applied to scalar fields. Attempts
285
+ Currently , writer accessors can only be applied to scalar fields. Attempts
286
286
to apply this attribute to a non-scalar field will result in a fatal exception
287
287
at compile-time. This may be relaxed in a future version to allow writers on
288
288
array or hash fields. For now, these will have to be created manually.
You can’t perform that action at this time.
0 commit comments