splice is not what you are looking for. A simple assignment is the clearest and most efficient way to update the value of an array element with a known index.
my @array = qw(foo moo baz); $array[1] = 'bar';
— Arien
In reply to Re(2): updating an array of strings
by Arien
in thread updating an array of strings
by kirk123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |