@data = map { join '/', @$_ } sort { my_sort() } @data; # works @data = map { join '/', @$_ } sort my_sort @data; # breaks
Cheers - L~R
In reply to Re^2: Sorting, recursion, and tail-call optimizations
by Limbic~Region
in thread Sorting, recursion, and tail-call optimizations
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |