Since the only false values are undef, '', 0, '0', you can safely write this more idiomatically asfor (@f) { $_ = 0 unless defined }
$_ ||= 0 for @f;
Makeshifts last the longest.
In reply to Re^2: Chord root
by Aristotle
in thread Chord root
by benn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |