# Initialize a new Z object for each element of @inits my @obj_array = map {$z->new($_)} @inits;