in reply to Changing an array from a sub
sub ChangeArray6 { @_[0..$#_] = (6) x @_; # Try this instead } [download]