Skip to content

Commit 42a09c0

Browse files
trwyantkhwilliamson
authored andcommitted
Correct count and grammar in '... attempt to escape whitespace' diagnostic.
1 parent f31e6c6 commit 42a09c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perldiag.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5501,8 +5501,8 @@ You probably wrote something like this:
55015501
another
55025502
);
55035503

5504-
expecting to get a two elements list containing the strings C<'a string'>
5505-
and C<'another'>. Instead the list will hold four elements: C<'a\'>
5504+
expecting to get a two element list containing the strings C<'a string'>
5505+
and C<'another'>. Instead the list will hold three elements: C<'a\'>
55065506
(with a literal backslash), C<'string'> and C<'another'>.
55075507

55085508
If you really want whitespace in your strings, build your list the

0 commit comments

Comments
 (0)