Yesterday I wanted to sorting somethings, and I knew that there was good example in Effective Perl Programming by Hall and Schwartz. The book is now six years old, but I still find it contains useful advice. I should refer to it more often as I understand it better and more fully every time I return to it.