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

Re: beginner help

by nvivek (Vicar)
on Aug 03, 2010 at 04:59 UTC ( #852596=note: print w/replies, xml ) Need Help??


in reply to beginner help

You could do this easily.As others said, you can use range operator to get all the intermediate numbers.If you're getting the start and end numbers from user.You need to check whether the end no is greater than start no.If not, you can't get the range in between them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://852596]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-03-28 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (327 votes). Check out past polls.