in reply to Re^2: Inherit custom sort method from base class
in thread Inherit custom sort method from base class
and remove specialSort from MySubclass.sort { $self->specialSort($a, $b) } @{$self->{things}})
{ $self->specialSort($a, $b) }
use base qw/Exporter/; @EXPORT = qw/specialSort/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Inherit custom sort method from base class
by AnomalousMonk (Archbishop) on Oct 02, 2013 at 00:30 UTC | |
|
Re^4: Inherit custom sort method from base class
by adaughterson (Initiate) on Oct 01, 2013 at 23:35 UTC | |
by vsespb (Chaplain) on Oct 01, 2013 at 23:54 UTC | |
by AnomalousMonk (Archbishop) on Oct 02, 2013 at 00:11 UTC | |
by Anonymous Monk on Oct 02, 2013 at 10:08 UTC | |
by AnomalousMonk (Archbishop) on Oct 02, 2013 at 20:27 UTC |