Jeff Pinyan <jeffp@crusoe.net> writes: > Oh, and if you want the string "th" to follow the $day variable, then > you can do something like > print "... the ${day}th of $month"; Or, more accurately: # The endings for ordinal numbers. @ORDINALS = ('th', 'st', 'nd', 'rd', ('th') x 17, 'st', 'nd', 'rd', ('th') x 7, 'st'); print "... the $day$ORDINALS[$day] of $month"; But this is getting off-topic. :) -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>