Skip to content

Commit 052a79a

Browse files
committed
add perldelta entry for the new qw warning
1 parent f347ee8 commit 052a79a

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
@@ -263,7 +263,14 @@ automatically lexically declared.
263263

264264
=item *
265265

266-
XXX L<message|perldiag/"message">
266+
L<Possible attempt to escape whitespace in qw() list|perldiag/"Possible attempt to escape whitespace in qw() list">
267+
268+
(W qw) qw() lists contain items separated by whitespace; contrary to
269+
what some might expect, backslash characters cannot be used to "protect"
270+
whitespace from being split, but are instead treated as literal data.
271+
272+
Note that this warnings is I<only> emitted when the backslash is followed
273+
by actual whitespace (that C<qw> splits on).
267274

268275
=back
269276

0 commit comments

Comments
 (0)