Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: List-to-Range generation

by $code or die (Deacon)
on Jul 05, 2001 at 18:40 UTC ( #94112=note: print w/ replies, xml ) Need Help??


in reply to List-to-Range generation

This is nice.++

I like to add a sort {$a <=> $b} @_; so it doesn't matter what order you pass the list in.

Error: Keyboard not attached. Press F1 to continue.


Comment on Re: List-to-Range generation
Download Code
Re: Re: List-to-Range generation
by japhy (Canon) on Jul 05, 2001 at 18:45 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94112]
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 2015-07-05 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls