in reply to Re: Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)
in thread Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)

In your example no object has been blessed

One world, one people

  • Comment on Re^2: Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)

Replies are listed 'Best First'.
Re^3: Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)
by ikegami (Patriarch) on Jun 02, 2016 at 15:03 UTC
    Do you really think that adding my $o = bless({}); is going to make a difference? Why? Did you try it?
      It was already blessed in the constructor and all methods including the sort routine are in the same class. I don't understand why you are so surprised under the circumstances. Also, why would they call it bless if it had no magic about it? However, I do expect it has something to do with the inheritance magic as I can't reproduce it in an inherticance free case.

      One world, one people

        You said a function received an argument when you didn't pass any. I'm not surprised; I flat out don't believe it.