Help for this page

Select Code to Download


  1. or download this
    # Initialize a new Z object for each element of @inits
    my @obj_array = map {$z->new($_)} @inits;
    
  2. or download this
    # Initialize a new object of the same type as $z for each element of @
    +inits
    my @obj_array = map {ref($z)->new($_)} @inits;