in reply to perlfaq4 error ? good catch: I am stupid
Shouldn't it say "would sort (1, 10, 2) into (1, 2, 10)"
No. That would be numerical sort - but the default is string comparison, i.e. comparison of chars of strings leftmost first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perlfaq4 error ? good catch: I am stupid
by Zoop (Acolyte) on Sep 08, 2009 at 07:52 UTC | |
by Anonymous Monk on Sep 08, 2009 at 08:16 UTC | |
by graq (Curate) on Sep 08, 2009 at 09:54 UTC | |
by Zoop (Acolyte) on Sep 08, 2009 at 12:31 UTC | |
by Zen (Deacon) on Sep 09, 2009 at 13:50 UTC | |
by graq (Curate) on Sep 18, 2009 at 12:24 UTC |