in reply to Re^2: Sort hash with values
in thread Sort hash with values

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^4: Sort hash with values
by AnomalousMonk (Bishop) on Jun 24, 2013 at 19:30 UTC
    ... extemporaneous coding ... “implementation left as an exercise to the reader.”

    I understand. But given my perception of the relative inexperience of Rahul Gupta WRT Perl coding, and of the relatively subtle nature of the bug and its manifestation, I wanted to be very explicit about the problem I saw.

    I did not separately test it to see if it would actually run.

    My own experience with the excellent advice I customarily dispense is that it always works — except when I don't test it, and then, for some reason, it never works! That's why I always try to provide a "complete input-execution-output experience", usually in the form of some kind of command-line capture. That way, there's no question about execution conditions, code, data, etc... Caveat praeceptor.