Think about Loose Coupling | |
PerlMonks |
Re: Changing Perl's sort Defaultby fglock (Vicar) |
on Oct 23, 2002 at 20:00 UTC ( [id://207512]=note: print w/replies, xml ) | Need Help?? |
This is one way to "change the default", but i think is a bit odd:
It works because &sort calls main::sort, instead of CORE::sort
In Section
Seekers of Perl Wisdom
|
|