On Aug 23, 2007, at 10:31 PM, [EMAIL PROTECTED] wrote:

Author: jkeenan
Date: Thu Aug 23 19:31:07 2007
New Revision: 20817

Modified:
   branches/reconfigure/lib/Parrot/Configure/Step.pm

Log:
First argument to split should be a regex, not a string. Made this correction in three locations, which makes it more consistent with gmake documentation.

This actually changes the behavior of this split (for good or ill):

From perldoc -f split:
> As a special case, specifying a PATTERN of space (' ') will
> split on white space just as "split" with no arguments does.

> A "split" on "/\s+/" is
> like a "split(' ')" except that any leading whitespace produces
> a null first field.

Regards.
--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to