Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tbrowder/net-ip

a port of CPAN5's Net::IP to Rakudo Perl 6
https://github.com/tbrowder/net-ip

Last synced: about 1 month ago
JSON representation

a port of CPAN5's Net::IP to Rakudo Perl 6

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.com/tbrowder/Net-IP.svg?branch=master)](https://travis-ci.com/tbrowder/Net-IP)

# Net::IP (API version 2)

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

## Notes

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.

## Synopsis:

```
#!/usr/bin/env raku

use Net::IP;

# manipulate IP addresses...
```

See the internal documentation in the terminal window by entering:

```
$ p6doc Net::IP
```

AUTHOR
======

Tom Browder, ``

COPYRIGHT & LICENSE
===================

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](./LICENSE).