in reply to Re: An easier way to construct lists of numbers?in thread An easier way to construct lists of numbers?
++$h{$_->[0]}; ++$h{$_->[1]}; [download]
print join(' ',sort keys %h),"\n"; [download]