in reply to replacing many items in an array
my @repl = (73, 120, 124, 170, ... ); @arry[@repl] = (15) x @repl; [download]
Or of course a simple loop will do as well:
for (@repl) { $arry[$_] = 15; } [download]