diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4f35dfbe4a..96dabbbdc5 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4890,8 +4890,9 @@ Example, assuming array lengths are passed before arrays: =item split -Splits a string into a list of strings and returns that list. By default, -empty leading fields are preserved, and empty trailing ones are deleted. +Splits the string EXPR into a list of strings and returns that list. By +default, empty leading fields are preserved, and empty trailing ones are +deleted. In scalar context, returns the number of fields found and splits into the C<@_> array. Use of split in scalar context is deprecated, however, |