in reply to Re^2: Two simple code style advice questionsin thread Two simple code style advice questions
say $_ ? "true" : "false", "a" x $_ for 0, 1, "0e0";
The issue is that the code relies on true being represented by numeric one. While that works for numeric comparisons, it is not a safe assumption in general. So applying this construct to other kinds of tests could be dangerous.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (328 votes). Check out past polls.