Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Clueless newbie - help!

by maverick (Curate)
on May 08, 2002 at 21:17 UTC ( [id://165184] : note . print w/replies, xml ) Need Help??


in reply to Regular expression range question (was: Clueless newbie - help!)

Checking to see if an ip address is within a certain range is doable with a regexp....but I don't think that's the best way to handle it as the regexp quickly becomes really nasty.

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*!!