On Jan 18, 2006, at 1:18 AM, Jonathan Scott Duff wrote:
On Tue, Jan 17, 2006 at 12:35:57PM -0500, Mark Reed wrote:
On 2006-01-17 12:24 PM, Gaal Yahas [EMAIL PROTECTED] wrote:
[split on empty string] doesn's seem to be specced yet.
I would prefer the current pugs behavior; it's consistent
On 2006-01-18 10:04 AM, David K Storrs [EMAIL PROTECTED] wrote:
Just to show opposite, I've always found that behavior (i.e.
returning the original string unchanged) confusing. Csplit works
based on sequential examination of the target string to locate
matching substrings on which to split.
Mark Reed wrote:
Perl6 .split(/whatever/) is equivalent to split(/whatever/,) in Perl5.
I'm hoping that the perl 5 syntax will still be valid in perl 6.
--
Jonathan Dataweaver Lang
On Tue, Jan 17, 2006 at 07:24:14PM +0200, Gaal Yahas wrote:
: While cleaning up tests for release:
:
: .split(':')=
:
:()# Perl 5
:(,) # pugs
:
: Which is correct? It doesn's seem to be specced yet.
This has nothing to do with splitting on the empty
Jonathan Lang skribis 2006-01-18 7:26 (-0800):
Mark Reed wrote:
Perl6 .split(/whatever/) is equivalent to split(/whatever/,) in Perl5.
I'm hoping that the perl 5 syntax will still be valid in perl 6.
Don't worry, it is.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
On Wed, Jan 18, 2006 at 09:08:07PM +0100, Juerd wrote:
: Jonathan Lang skribis 2006-01-18 7:26 (-0800):
: Mark Reed wrote:
: Perl6 .split(/whatever/) is equivalent to split(/whatever/,) in Perl5.
: I'm hoping that the perl 5 syntax will still be valid in perl 6.
:
: Don't worry, it is.
Yep,
On 2006-01-17 12:24 PM, Gaal Yahas [EMAIL PROTECTED] wrote:
While cleaning up tests for release:
.split(':')=
()# Perl 5
(,) # pugs
Which is correct? It doesn's seem to be specced yet.
I would prefer the current pugs behavior; it's consistent
On Tue, Jan 17, 2006 at 12:35:57PM -0500, Mark Reed wrote:
On 2006-01-17 12:24 PM, Gaal Yahas [EMAIL PROTECTED] wrote:
While cleaning up tests for release:
.split(':')=
()# Perl 5
(,) # pugs
Which is correct? It doesn's seem to be