Do you know where your variables are? | |
PerlMonks |
Re: Checking for a valid IP numberby mbethke (Hermit) |
on Jun 30, 2012 at 19:41 UTC ( [id://979258]=note: print w/replies, xml ) | Need Help?? |
This is really reinventing the wheel considering there are tons of ready-made solutions for this everyday task. If you do need a variation not covered by these, I'd suggest adding /o to the regexp to have it compile the whole length thing only once.
In Section
Cool Uses for Perl
|
|