in reply to foreach with array elements problem

It's not clear to me what do you want to achieve exactly. An array slice perhaps?
my @ar_slice = @array[1..234234];

Regards,
Edward