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,
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (486 votes). Check out past polls.