I expected that to work. I forgot that $colr is really an alias for an element of @COLOURS. I cannot think of a perfect fix. For now, remove Readonly from @COLOURS (remember to change the fat comma to an equal.)
<c> my @COLOURS = <DATA>; <c>In reply to Re^7: Split array and join with results
by BillKSmith
in thread Split array and join with results
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |