@new = (); for (@old) { push @new, act_on($_); } #### @old = (10..20); sub act_on { return 1..$_; }