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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]