I need to translate an IP addr with its mask from this form:

192.168.1.30/255.255.255.0

to this one:

192.168.1.30/24


which module/method is right to use? Thanks.

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


Reply via email to