From: Dan Jacobson Date: Sat, 20 Mar 2004 05:21:07 +0000 (+0000) Subject: [perl #27790] split docs: say the string is EXPR X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b2e26e6edc035b06037b6eca4ef7db0cd8e603a6;p=p5sagit%2Fp5-mst-13.2.git [perl #27790] split docs: say the string is EXPR From: Dan Jacobson (via RT) Message-ID: Minor documentation nit in split p4raw-id: //depot/perl@22584 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4f35dfb..96dabbb 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,