Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tbrowder/net-ip
- Owner: tbrowder
- License: artistic-2.0
- Created: 2018-01-24T12:58:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T15:23:36.000Z (over 3 years ago)
- Last Synced: 2024-12-09T19:50:14.645Z (about 2 months ago)
- Language: Raku
- Size: 40 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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 rakuuse 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).