- or download this
# ST
my @fhs =
...
sort { $a->[1] <=> $b->[1] }
map [ $_, fileno($_) ],
get_fhs();
- or download this
# GRT
my @fhs = get_fhs();
...
sort
map pack('NN', fileno($fhs[$_]), $_),
0..$#fhs;
- or download this
# GRT
my @fhs = get_fhs();
...
map pack('NN', fileno($fhs[$_]), $_),
0..$#fhs
];