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)
which also passes $obj as first parameter and see if I still get $a and $b for free, which IS documented magic. Many thanks for the suggestion.sort { $obj->_compare }
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sort mechanics problems... (updated)
by haukex (Archbishop) on Jun 01, 2016 at 16:05 UTC | |
|
Re^3: Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)
by ikegami (Patriarch) on Jun 01, 2016 at 16:52 UTC | |
|
Re^3: Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)
by Anonymous Monk on Jun 01, 2016 at 16:06 UTC | |
by anonymized user 468275 (Curate) on Jun 01, 2016 at 16:21 UTC | |
by Anonymous Monk on Jun 01, 2016 at 16:26 UTC |