Net::IANA::Registry - optimized representation of IANA's port number registry



NAME

Net::IANA::Registry - optimized representation of IANA's port number registry


SYNOPSIS

  use Net::IANA::Registry;
  my $registry = Net::IANA::Registry->new();
  $registry->last_updated(); # returns a date, e.g.: '2003-06-25'
  $registry->iana_last_updated(); # returns a date, e.g.: '2003-06-25'
  $registry->load(); # returns an arrayref of port objects
  # returns a new registry module as a string
  $registry->generate_new_registry_module('MyRegistry');
  $registry->get_registry; # returns a new registry as a string
  $registry->install_new_registry(); # installs a new default registry
  print "There is a newer registry available from IANA\n" if
    $registry->expired();


DESCRIPTION

Net::IANA::PortNumbers uses the official IANA port number registry at the protocol/number assignments directory located at:

http://www.iana.org/assignments/port-numbers

This module represents an optimized, pipe-delimited representation of IANA's port number registry.


METHODS


COPYRIGHT

Copyright (c) 2003 Adam J. Foxson. All rights reserved.


LICENSE

See COPYING


SEE ALSO


AUTHOR

Adam J. Foxson <afoxson@pobox.com>.

 Net::IANA::Registry - optimized representation of IANA's port number registry