in reply to Re^4: Inherit custom sort method from base class
in thread Inherit custom sort method from base class

Hm. Strange. It should work without "my", and should not work with "my".
  • Comment on Re^5: Inherit custom sort method from base class

Replies are listed 'Best First'.
Re^6: Inherit custom sort method from base class
by AnomalousMonk (Archbishop) on Oct 02, 2013 at 00:11 UTC
    It should work without "my", and should not work with "my".

    Ditto that.

      Well, the posted sub specialSort uses $a and $b it doesn't use @_, so  specialSort(qw/ anything here doesnt matter its not used /)

        I thought Anonymonk was referring to the approach of vsespb discussed here, in which the sort parameters are passed via the argument list. But as long as the OPer is happy with the way everything works, I'm happy!