Help language development. Donate to The Perl Foundation

Net::IP cpan:TBROWDER last updated on 2020-07-15


Build Status

Net::IP (API version 2)

This module is a beginning port of the Perl module Net::IP to the Raku programming language.


  1. This API is not backwardly compatible with previous versions.

  2. All but four functions will die if an unknown IP format is presented for processing; those exceptions are: ip-get-version, ip-is-ipv4, ip-is-ipv6, and ip-is-ip which return false if the argument is not known to satisfy the request.

  3. All X2ip functions require the IP version (4 or 6) to be provided.


#!/usr/bin/env raku

use Net::IP;

# manipulate IP addresses...

See the internal documentation in the terminal window by entering:

$ p6doc Net::IP


Tom Browder, <[email protected]>


Copyright (c) 2018-2020 Tom Browder, all rights reserved.

This program is free software; you can redistribute it or modify it under the same terms as Raku itself.

See that license here.