diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-10-11 23:26:21 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-10-11 23:26:21 -0700 |
commit | 9f6ecbda77f5a7341a63a319d357f1c1994f233e (patch) | |
tree | 4fb65aebb52c363a2aac4dc2c0d950a4d0de02bb /pod/perlreapi.pod | |
parent | b97b7b693710c4cd463688d004cec42f02c42158 (diff) | |
download | perl-9f6ecbda77f5a7341a63a319d357f1c1994f233e.tar.gz |
perlreapi.pod: Update RXf_SPLIT section
Diffstat (limited to 'pod/perlreapi.pod')
-rw-r--r-- | pod/perlreapi.pod | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index 6d34185cfb..edcf9bb7e9 100644 --- a/pod/perlreapi.pod +++ b/pod/perlreapi.pod @@ -162,6 +162,10 @@ Additional flags: =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 |