Skip to content

Commit ee06f66

Browse files
committed
add perldelta entry for the new qw warning
1 parent 2c32e43 commit ee06f66

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pod/perldelta.pod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,14 @@ XXX L<message|perldiag/"message">
206206

207207
=item *
208208

209-
XXX L<message|perldiag/"message">
209+
L<Possible attempt to escape whitespace in qw() list|perldiag/"Possible attempt to escape whitespace in qw() list">
210+
211+
(W qw) qw() lists contain items separated by whitespace; contrary to
212+
what some might expect, backslash characters cannot be used to "protect"
213+
whitespace from being split, but are instead treated as literal data.
214+
215+
Note that this warnings is I<only> emitted when the backslash is followed
216+
by actual whitespace (that C<qw> splits on).
210217

211218
=back
212219

0 commit comments

Comments
 (0)