How to parse IP addresses with perl?
- by Andrey Zentavr
Hello!
I have list of IPs:
238.51.208.96/28
238.51.209.180-199
238.51.209.100-109
238.51.213.2-254
...
How can I easily parse them? I need first and last IP from range.
For First line I can use Net::Netmask CPAN module, but what can I do with others lines?