From: Alexander Schofield Date: 2002-01-28T14:38:01+09:00 Subject: Re: Array#splice method Just from checking perldoc it seems splice is uneccessary in ruby, since you have Array#[], and Array#[]=, both of which accept Range as an argument: irb(main):001:0> a = [1,2,3,4,5,6,7] [1, 2, 3, 4, 5, 6, 7] irb(main):002:0> a[2..5] = ['a', 'b'] ["a", "b"] irb(main):003:0> a [1, 2, "a", "b", 7] -- Alexander Schofield email: theschof@cs.com