in reply to sort != sort

@Objs = sort { $b->{'num'} <=> $a->{'num} } @Objs should work.

The problem is elsewhere so show us the full code (or at least some more).

Replies are listed 'Best First'.
Re^2: sort != sort
by Anonymous Monk on Oct 25, 2010 at 20:45 UTC

    Perhaps it is the missing close-quote on the second 'num'?