my @colours = map { $_ = ($_ || 0) + 0; ( ($_ < 0 ? 0) : ($_ > 255 ? 255) : $_ ) / 255; } split /,/, "$colour,,", 4;
Makeshifts last the longest.
In reply to Re: DWIM on sub input
by Aristotle
in thread DWIM on sub input
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |