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

Re: TIMTOWTDI/golf - counting backwards

by Masem (Monsignor)
on Jan 28, 2002 at 20:16 UTC ( #142085=note: print w/replies, xml ) Need Help??


in reply to TIMTOWTDI/golf - counting backwards

Probably want to get this variation out of the way... :-)
sort { $b <=> $a } ( (length '.' ) .. (length '..........') );
(Specifically the sort context)

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://142085]
help
Chatterbox?
[LanX]: what?
[LanX]: $; exists, so does the glob
[GotToBTru]: $; is "useful for emulating multi-dimensional arrays in Perl4"
[LanX]: i.e. &; is parsable

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-01-18 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (164 votes). Check out past polls.