in reply to Re^2: Strange behavior of array in scalar contextin thread Strange behavior of array in scalar context
s/count/max index/g [download]