>>>>> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes:
PRL> =item 2. Empty trailing fields are currently suppressed (although a
PRL> -1 as the third argument disables this). I suggest that empty trailing
PRL> fields be retained by default.
Extremely useful, I rely on this. It makes non-existant fields and empty
fields the same.
PRL> =item 3. When not in list context, split currently splits into @_. I
PRL> suggest that this side-effect be removed.
Makes it harder on one liners.
split; shift;
PRL> =item 5. split ' ' (but not split / /) currently splits on whitespace,
PRL> but also removes leading empty fields. I suggest that this
PRL> irregularity be removed.
This is another useful default, what would you replace it with?
(Think awk). This would also cause grief with qw()
@bar = qw( this is the sentence );
$bar[0] eq "";
$bar[1] eq "this";
Currently $bar[0] eq "this";
If you think about it isn't removing leading fields, it's looking for the
first non-whitespace token on the line.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183