in reply to Golf/Perlish solution to this problem?
sub hllhh { my( $hi )= @_; my $lo= 1; return map $_ & 2 ? $lo++ : $hi--, 1..$hi; } print join ' ', hllhh(8), $/ [download]
- tye