for $x ( 0 .. $#handles )