Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Inherit custom sort method from base class

by vsespb (Chaplain)
on Oct 01, 2013 at 23:54 UTC ( #1056556=note: print w/ replies, xml ) Need Help??


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 (Canon) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056556]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-08-26 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (366 votes). Check out past polls.