Skip to content

Commit

Permalink
pod: fields.pm corrections
Browse files Browse the repository at this point in the history
confusing word order, clearly was intended to be
'as (compact and) fast as'..

also, 'fewer' elements rather than 'less'
  • Loading branch information
myrrhlin committed Oct 23, 2024
1 parent 0eda2a5 commit 74919e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/base/lib/fields.pm
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ to subclasses.
Also, B<in Perl 5.8.x and earlier>, this pragma uses pseudo-hashes, the
effect being that you can have objects with named fields which are as
compact and as fast arrays to access, as long as the objects are
compact and fast as arrays to access, as long as the objects are
accessed through properly typed variables.
The following functions are supported:
Expand Down Expand Up @@ -293,7 +293,7 @@ pseudo-hashes directly.
If the first argument is a reference to an array, the pseudo-hash will
be created with keys from that array. If a second argument is supplied,
it must also be a reference to an array whose elements will be used as
the values. If the second array contains less elements than the first,
the values. If the second array contains fewer elements than the first,
the trailing elements of the pseudo-hash will not be initialized.
This makes it particularly useful for creating a pseudo-hash from
subroutine arguments:
Expand Down

0 comments on commit 74919e0

Please sign in to comment.