in reply to
Re^2: Sorting Puzzle (just sort)
in thread
Sorting Puzzle
Tye's statement was correct. Perl does indeed compare the two values numerically, but the magic of bigint is not triggered. The 0+ doesn't force numeric comparison in this case, it triggers bigint magic.
Comment on
Re^3: Sorting Puzzle (just sort)
Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
In Section
Seekers of Perl Wisdom