in reply to Can I match a range from an array?

When I'm finished I'll use strict and warnings and indent my code but now it's in the rough so it doesn't matter.

bzzzzzzzzt....wrong!.....*now* is when strict and warnings should most certainly be used. On not indenting/formatting your code is something I won't get on ya about, you'll be doing that yourself soon enough :-)