in reply to perl ipcalc oneliners

You might want to look into Net::NetMask rather than trying to do the conversion yourself. And use <code></code> tags next time.

--
We're looking for people in ATL