Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: English Date-Suffixes

by petral (Curate)
on Nov 06, 2002 at 16: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 scrutinizing the Monastery: (5)
As of 2020-06-03 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (24 votes). Check out past polls.

    Notices?