This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document qw's whitespace rules
[perl5.git]
/
pod
/
perlop.pod
diff --git
a/pod/perlop.pod
b/pod/perlop.pod
index
410085f
..
b3f77d6
100644
(file)
--- a/
pod/perlop.pod
+++ b/
pod/perlop.pod
@@
-2346,7
+2346,8
@@
equivalent to:
split(" ", q/STRING/);
split(" ", q/STRING/);
-the differences being that it generates a real list at compile time, and
+the differences being that it only splits on ASCII whitespace,
+generates a real list at compile time, and
in scalar context it returns the last element in the list. So
this expression:
in scalar context it returns the last element in the list. So
this expression: