https://github.com/houseabsolute/moosex-types-portnumber
Port number type for moose classes by The Internet Assigned Numbers Authority (IANA)
https://github.com/houseabsolute/moosex-types-portnumber
Last synced: about 2 months ago
JSON representation
Port number type for moose classes by The Internet Assigned Numbers Authority (IANA)
- Host: GitHub
- URL: https://github.com/houseabsolute/moosex-types-portnumber
- Owner: houseabsolute
- License: other
- Created: 2016-08-31T15:09:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T15:17:24.000Z (almost 9 years ago)
- Last Synced: 2025-02-15T19:23:17.494Z (4 months ago)
- Language: Perl
- Homepage: http://metacpan.org/release/MooseX-Types-PortNumber/
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# NAME
MooseX::Types::PortNumber - Port number type for moose classes by The Internet Assigned Numbers Authority (IANA)
# VERSION
version 0.03
# SYNOPSIS
package MyClass;
use Moose;
use MooseX::Types::PortNumber
qw( PortNumber PortWellKnow PortRegistered PortPrivate );has port => ( isa => PortNumber, is => 'ro' );
has well => ( isa => PortWellKnow, is => 'ro' );
has reg => ( isa => PortRegistered, is => 'ro' );
has priv => ( isa => PortPrivate, is => 'ro' );# DESCRIPTION
The port numbers are divided into three ranges: the Well Known Ports, the
Registered Ports, and the Dynamic and/or Private Ports.The Well Known Ports are those from 0 through 1023.
DCCP Well Known ports SHOULD NOT be used without IANA registration. The
registration procedure is defined in \[RFC4340\], Section 19.9.The Registered Ports are those from 1024 through 49151
DCCP Registered ports SHOULD NOT be used without IANA registration. The
registration procedure is defined in \[RFC4340\], Section 19.9.The Dynamic and/or Private Ports are those from 49152 through 65535
# SEE ALSO
http://www.iana.org/assignments/port-numbers
# SUPPORT
Bugs may be submitted through [the RT bug tracker](http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-PortNumber)
(or [[email protected]](mailto:[email protected])).I am also usually active on IRC as 'drolsky' on `irc://irc.perl.org`.
# DONATIONS
If you'd like to thank me for the work I've done on this module, please
consider making a "donation" to me via PayPal. I spend a lot of free time
creating free software, and would appreciate any support you'd care to offer.Please note that **I am not suggesting that you must do this** in order for me
to continue working on this particular software. I will continue to do so,
inasmuch as I have in the past, for as long as it interests me.Similarly, a donation made in this way will probably not make me work on this
software much more, unless I get so many donations that I can consider working
on free software full time (let's all have a chuckle at that together).To donate, log into PayPal and send money to [email protected], or use the
button at [http://www.urth.org/~autarch/fs-donation.html](http://www.urth.org/~autarch/fs-donation.html).# AUTHORS
- Thiago Rondon
- Dave Rolsky# COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Thiago Rondon & Dave Rolsky.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.