Do you know where your variables are? | |
PerlMonks |
Re^2: Ordering Colours Problemby choroba (Cardinal) |
on Mar 06, 2021 at 22:54 UTC ( [id://11129225]=note: print w/replies, xml ) | Need Help?? |
> Black appearing second after red is puzzling, though If you run my code several times, you'll see the black and red are sometimes swapped. That's because black is in fact the darkest possible red :-)
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|