Skip to content

Commit a97e8c6

Browse files
myrrhlinjkeenan
authored andcommitted
pod: fields.pm corrections
confusing word order, clearly was intended to be 'as (compact and) fast as'.. also, 'fewer' elements rather than 'less'
1 parent 7707ee7 commit a97e8c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@ Pravus <[email protected]>
11561156
11571157
Prymmer/Kahn <[email protected]>
11581158
1159+
11591160
Quentin Fennessy <[email protected]>
11601161
Radu Greab <[email protected]>
11611162

dist/base/lib/fields.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ unless( eval q{require warnings::register; warnings::register->import; 1} ) {
1212
}
1313
our %attr;
1414

15-
our $VERSION = '2.25';
15+
our $VERSION = '2.26';
1616
$VERSION =~ tr/_//d;
1717

1818
# constant.pm is slow
@@ -252,7 +252,7 @@ to subclasses.
252252
253253
Also, B<in Perl 5.8.x and earlier>, this pragma uses pseudo-hashes, the
254254
effect being that you can have objects with named fields which are as
255-
compact and as fast arrays to access, as long as the objects are
255+
compact and fast as arrays to access, as long as the objects are
256256
accessed through properly typed variables.
257257
258258
The following functions are supported:
@@ -293,7 +293,7 @@ pseudo-hashes directly.
293293
If the first argument is a reference to an array, the pseudo-hash will
294294
be created with keys from that array. If a second argument is supplied,
295295
it must also be a reference to an array whose elements will be used as
296-
the values. If the second array contains less elements than the first,
296+
the values. If the second array contains fewer elements than the first,
297297
the trailing elements of the pseudo-hash will not be initialized.
298298
This makes it particularly useful for creating a pseudo-hash from
299299
subroutine arguments:

0 commit comments

Comments
 (0)