On Mon, 13 Aug 2007 00:30:27 -0400, [EMAIL PROTECTED] wrote:

> Given this ip range,
> 64.12.0.0/16
> Is there any way to get the first ip and last ip in it by Perl?


Look at the program ipcalc.. it does the same thing and more (in
perl).. http://jodies.de/ipcalc

I would still recommend searching and using a proper module.. but if
you just want a head start in knowing "how" to do it, then read the
script. 

-- 
Cheers,
Laxminarayan G Kamath A
e-mail: [EMAIL PROTECTED]
Work URL: http://deeproot.in

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to