chromatic wrote:
> On Wednesday 28 May 2008 23:20:15 Patrick R. Michaud wrote:
>
>> In particular, I think that the following sequence should
>> result in a 0-length array:
>>
>> my @array;
>> @array[8] = 'eight';# array has elements 0..8
>> @array.delete(8);
On Wednesday 28 May 2008 23:20:15 Patrick R. Michaud wrote:
> In particular, I think that the following sequence should
> result in a 0-length array:
>
> my @array;
> @array[8] = 'eight';# array has elements 0..8
> @array.delete(8); # now it's empty again
>
t/spec/S29-array/delete.t currently has:
my @array = ;
is [EMAIL PROTECTED], "a b c d", "basic sanity (1)";
is [EMAIL PROTECTED](2), "c",
"deletion of an array element returned the right thing";
# Note: The double space here is correct (it's the stringification of undef).
is [EMAIL P