Hi, Any modules available that can: - Parse IPv4/IPv6 addresses that includes ports (1.1.1.1:80 & ::1.80 for example) - Convert the IPv4 and IPv6 to integers
There's plenty around to convert to integers, validate the address, etc. Not a lot (that I could find) that can handle an address that includes the port portion. Net::IP for example sees the above mentioned two examples as invalid addresses (and rightfully so I suppose). Is there perhaps an intelligent way to split() the address from the port that would work for both IPv4 as well as IPv6? Should be possible with a regex I guess, but them regex'es ain't one of my strong points. -- Regards, Chris Knipe