No such thing as a small change | |
PerlMonks |
Re: Boolean logic with IP addressesby alfie (Pilgrim) |
on May 17, 2001 at 17:38 UTC ( [id://81228]=note: print w/replies, xml ) | Need Help?? |
Given the fact that $ip holds a valid IP-Address:
There might be trickier ways but that should do for the start :) Update: Of course the MSB is in the first digit,
it came to my mind when traveling home yesterday, sorry....
Thanks, jink. Well thought :)
In Section
Seekers of Perl Wisdom
|
|