Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: printing unequal sized lists side by sideby wind (Priest) |
on May 28, 2011 at 17:13 UTC ( [id://907142]=note: print w/replies, xml ) | Need Help?? |
Instead of the ternary operator, might I recommend the "defined-or" test instead. It's more succinct and it doesn't fail on a value of '0'.
In Section
Seekers of Perl Wisdom
|
|