http://qs321.pair.com?node_id=210786


in reply to English Date-Suffixes

Actually,
pop=~/1?./;qw(0 st nd rd)[$&]or'th'


  p