in reply to
Incrementing "Infinity" bug
0:52 >perl -E "$a = inf; print ++$a, qq[\n];"
0:52 >perl -E "$a = inf + 0; print ++$a, qq[\n];"
0:52 >perl -Mbigint -E "$a = inf; print ++$a, qq[\n];"
0:52 >perl -v
This is perl 5, version 16, subversion 0 (v5.16.0) built for MSWin32-x
(with 1 registered patch, see perl -V for more detail)
Hope that helps,
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (158 votes),