At 03:43 PM 12/28/00 -0500, John Porter wrote: >Dan Sugalski wrote: > > > > use sort qw(radix_sort); > > sort \&radix_sort @data; > >Isn't that the slot where the comparison function goes? >Maybe something more like this: > >use sort::radix_sort; >sort @data; # magically uses radix_sort instead of default. D'oh. Yeah, you're right. A lexically scoped pragma or a setting of some CORE::GLOBAL sub. (Probably one and the same, though we'd need a method to hoist things out a few levels of lexical scope for that to work...) Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- [Fwd: Re: [FWP] sorting text in human-order] David L. Nicol
- Re: [Fwd: Re: [FWP] sorting text in human-order] John Porter
- Re: [Fwd: Re: [FWP] sorting text in human-ord... Nathan Torkington
- Re: [Fwd: Re: [FWP] sorting text in human... John Porter
- Re: [Fwd: Re: [FWP] sorting text in human-order] Jarkko Hietaniemi
- Re: [Fwd: Re: [FWP] sorting text in human-order] Dan Sugalski
- Re: [Fwd: Re: [FWP] sorting text in human-ord... John Porter
- Re: [Fwd: Re: [FWP] sorting text in human... Jarkko Hietaniemi
- Re: [Fwd: Re: [FWP] sorting text in h... John Porter
- Re: [Fwd: Re: [FWP] sorting text... Peter Scott
- Re: [Fwd: Re: [FWP] sorting text in human... Dan Sugalski
- Re: [Fwd: Re: [FWP] sorting text in human-order] Piers Cawley
- Re: [Fwd: Re: [FWP] sorting text in human-ord... David L. Nicol
- Re: [Fwd: Re: [FWP] sorting text in human... Jarkko Hietaniemi
- Re: [Fwd: Re: [FWP] sorting text in h... Jonathan Scott Duff
- Re: [Fwd: Re: [FWP] sorting text... Jarkko Hietaniemi
- Re: [Fwd: Re: [FWP] sorting ... Jonathan Scott Duff
- Re: [Fwd: Re: [FWP] sort... Uri Guttman
- Re: [Fwd: Re: [FWP] sorting text in h... David L. Nicol
- Re: [FWP] sorting text in human-order David L. Nicol
- Re: [FWP] sorting text in human-order Piers Cawley