foreach $img(@img){ $img = $newinput; }