|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
RE {4} Sorting on Section Numbersby turnstep (Parson) |
| on Jul 28, 2000 at 17:27 UTC ( [id://24923]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
> it works the same way, but I substituted in a Schwartzian transform to cache the original
Unfortunately, there are two problems with this code:
First, the map arguments should be reversed or the sort subscripts should be "1" not "0". As it is, all the code does is a simple sort, and ignores the whole pack part! Second, even when it is fixed, it does not quite sort correctly:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||