in reply to
Passing Any Range of Values to a Sub
I'm ashamed to admit it, but yes this is homework.
Hey, at least you had the umption to admit it upfront. There are a lot of posts that stink of homework questions but start off with something like, "SO I was playing around with Perl and had an idea but I can't make it work...." which translates to, "This is due tomorrow. Help!!!"
What makes this a good post is that
- You admit upfront that it's homework (show some integrity!)
- You did some work, and it looks like some research (not just "How do I do this thing?")
Keep working at it. You'll pass me in no time (if you haven't already ;)
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.