in reply to Re^4: Sorting Alphanumeric Arrays
in thread Sorting Alphanumeric Arrays

Nice module. I especially like the in-place options.

A couple of questiosn I haven't been able to answer from the POD:


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Replies are listed 'Best First'.
Re^6: Sorting Alphanumeric Arrays
by salva (Canon) on Jun 14, 2005 at 06:51 UTC
    What is the difference between types 'int' & 'integer', 'num' & 'number'?

    nothing, they are synonymous.

    Does the module respect magic?

    yes... though overloaded operators '<=>' and 'cmp' are not used. Overloaded keys are converted to the requested type via '""' or '0+' and then compared as raw integers, floats or strings.