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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b97b7b6
)
perlreapi.pod: Update RXf_SPLIT section
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Oct 2012 06:26:21 +0000
(23:26 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Oct 2012 06:26:21 +0000
(23:26 -0700)
pod/perlreapi.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlreapi.pod
b/pod/perlreapi.pod
index
6d34185
..
edcf9bb
100644
(file)
--- a/
pod/perlreapi.pod
+++ b/
pod/perlreapi.pod
@@
-162,6
+162,10
@@
Additional flags:
=item RXf_SPLIT
=item RXf_SPLIT
+This flag was removed in perl 5.18.0. C<split ' '> is now special-cased
+solely in the parser. RXf_SPLIT is still #defined, so you can test for it.
+This is how it used to work:
+
If C<split> is invoked as C<split ' '> or with no arguments (which
really means C<split(' ', $_)>, see L<split|perlfunc/split>), Perl will
set this flag. The regex engine can then check for it and set the
If C<split> is invoked as C<split ' '> or with no arguments (which
really means C<split(' ', $_)>, see L<split|perlfunc/split>), Perl will
set this flag. The regex engine can then check for it and set the