is exactly equivalent to defined($a) ? $a : $b
As well, assuming all values are guaranteed to be non-zero numbers, you can swap that to a ||.
In reply to Re^5: Print multiple hashes of arrays at same time
by kennethk
in thread Print multiple hashes of arrays at same time
by tomdbs98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |