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,
My savings account
My retirement account
Winning the lottery
A Post-scarcity economy
Retirement?! You'll have to pull the keyboard from my cold, dead hands
I'm independently wealthy
Results (208 votes),