in reply to Re: English Date-Suffixesin thread English Date-Suffixes
$_=pop;qw(0 st nd rd)[!/1./&&$_%10]or'th' [download]