Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: English Date-Suffixes

by petral (Curate)
on Nov 06, 2002 at 11:34 UTC ( #210786=note: print w/replies, xml ) Need Help??


in reply to English Date-Suffixes

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


  p

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://210786]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-01-20 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?