This problem is not that simple to solve. If you take
then the new list will have key1 twice.my @list = qw{ key value marker key key1 };
In reply to Re: Rename Duplicate List Elements in an Array
by ambrus
in thread Rename Duplicate List Elements in an Array
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |