Rob Dixon <[EMAIL PROTECTED]> wrote: > John W. Krahn wrote: >> >> splice() will only work with array not lists. > > ... but (as you meant to say, John) you can take a slice > of a list like this > > my ($seconds, $minutes, $hours) = (localtime)[0..2];
And you can take the beginning of the list slicelessly my ($sec, $min, $hrs) = localtime; -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]