good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I was probably not explicit enough. Let's take an example:
If we first reverse it, we get and then we sort it to get
On the other hand, if we sort it first, we get and we can then reverse it to
Functions are not called left to right, but from the innermost to the outermost, i.e. rather right to left.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In reply to Re^3: reverse sort arrays in subroutines
by choroba
|
|