in reply to Does problem is in the for loop???

chomp the arrays.
chomp @uut_names; chomp @nets; chomp @enabled_nets;