Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: English Date-Suffixes

by petral (Curate)
on Nov 12, 2002 at 20:07 UTC ( #212386=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: English Date-Suffixes
in thread English Date-Suffixes

Wow, didn't know about dropping the qw!
Why does the ||th  lead to only returning the last value from the /1?./g -indexed list?

Update:  I see, it becomes a comma list which returns the last value ("the result of the last expression").
see, A list returns its last, an array returns its weight

  p


Comment on Re: Re: Re: English Date-Suffixes
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-05-04 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (93 votes), past polls