Perl6 provides features for creating rich user types. Unfortunately the standard distribution fails to include implementations for types we would expect to find in other languages SDKs such as types for networking entities. I have created Net::IP::Parse. This library exposes types for `IP` and `CIDR` types for both IPv4 and IPv6. Take a look at basic.t for detailed tests which illustrate the use of these types.

last update 2017-01-05