MooseX::Types::PortNumber(3pm)

MooseX::Types::PortNumber3pm

Port number type for moose classes by the internet assigned numbers authority (iana)

Usage

    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' );

Version

version 0.03

Overview

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

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>.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–11
  2. 12–13

Authors

•

Thiago Rondon <[email protected]>

•

Dave Rolsky <[email protected]>

From libmoosex-types-portnumber-perl 0.03-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.