Rather, check out a module called Net::IP::Match. From it's description it seems to do exactly what you need.
HTH
/\/\averick
OmG! They killed tilly! You *bleep*!!
In reply to Re: Clueless newbie - help!
by maverick
in thread Regular expression range question (was: Clueless newbie - help!)
by odosbucket
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |