in reply to Re: splitting nothing?
in thread splitting nothing?

perhaps "If there are zero non-empty matches, all are treated as empty trailing fields and are deleted."

Replies are listed 'Best First'.
Re^3: splitting nothing?
by ysth (Canon) on Jul 14, 2004 at 00:04 UTC
    How does this look:
    --- perlfunc.pod.orig 2004-06-01 05:37:39.000000000 -0700 +++ perlfunc.pod 2004-07-13 17:02:48.436164800 -0700 @@ -4986,7 +4986,7 @@ 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. +deleted. (If all fields are empty, they are considered to be trailin +g.) In scalar context, returns the number of fields found and splits into the C<@_> array. Use of split in scalar context is deprecated, howev +er,
      sounds clear to me :)