diff options
author | Dan Jacobson <unknown> | 2004-03-20 05:21:07 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-03-24 21:14:08 +0000 |
commit | b2e26e6edc035b06037b6eca4ef7db0cd8e603a6 (patch) | |
tree | 29a556b7dcbc879ebb69e24e5d8e4d79090357c9 /pod/perlfunc.pod | |
parent | 13b238e638f82ea9dd82406b41b94ea2b72b1275 (diff) | |
download | perl-b2e26e6edc035b06037b6eca4ef7db0cd8e603a6.tar.gz |
[perl #27790] split docs: say the string is EXPR
From: Dan Jacobson (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.8-27790-82358.14.5476352902536@perl.org>
Minor documentation nit in split
p4raw-id: //depot/perl@22584
Diffstat (limited to 'pod/perlfunc.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, |