You and Mike showed me my error. I placed a 1 in the length field. It was inserting the element member I wanted but also removing one.
Thanks, K --- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Tue, 12 Feb 2002, Michael Fowler wrote: > > > Consider: > > > > @week = qw(Monday Wednesday Friday); > > print "@week\n"; > > > > splice(@week, 1, 0, "Tuesday"); > > print "@week\n"; > > > > splice(@week, 3, 0, "Thursday"); > > print "@week\n"; > > Duh, didn't even consider using a 0 offset in my > example. > > -- Brett > > http://www.chapelperilous.net/ > ------------------------------------------------------------------------ > The two oldest professions in the world have been > ruined by amateurs. > -- G.B. Shaw > __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]