Re: Playing with substr()

2008-01-12 Thread Cosimo Streppone
jerry gay ha scritto: On Jan 9, 2008 12:08 AM, Cosimo wrote: I'm trying to play with perl6.exe. I've wandered in the opened tickets for perl6 and saw this one about `substr()': http://rt.perl.org/rt3/Public/Bug/Display.html?id=44321 what we ultimately want is tests that cover the spec, which

Re: Playing with substr()

2008-01-09 Thread Cosimo Streppone
jerry gay wrote: On Jan 9, 2008 12:08 AM, Cosimo wrote: So question is: would be useful to "port" the substr() test script from Perl5's `t/op/substr.t' also to Perl6? what we ultimately want is tests that cover the spec, which for 'substr' is probably very close to the perl 5 spec. however, m

Re: Playing with substr()

2008-01-09 Thread jerry gay
On Jan 9, 2008 12:08 AM, Cosimo Streppone <[EMAIL PROTECTED]> wrote: > I'm trying to play with perl6.exe. > I've wandered in the opened tickets for perl6 and > saw this one about `substr()': > > http://rt.perl.org/rt3/Public/Bug/Display.html?id=44321 > > It ends with a patch that enables the 3rd op

Playing with substr()

2008-01-09 Thread Cosimo Streppone
I'm trying to play with perl6.exe. I've wandered in the opened tickets for perl6 and saw this one about `substr()': http://rt.perl.org/rt3/Public/Bug/Display.html?id=44321 It ends with a patch that enables the 3rd optional argument for substr(). I gave it a shot, and it seems to work. So questi