Bah, those are easy to deal with in a GRT.
For the first, instead of using sprintf "%05d", $int, you can use pack "N", $int (for any positive integers that fit in a long) or even sprintf "%02d-%d", length(0+$int), $int (for positive integers of 99 digits or fewer!).
For the latter, ~ is very handy.
- tyeIn reply to Re^4: Hash sorting (GRT)
by tye
in thread Hash sorting
by artist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |