NAME
Ubic::PortMap - update and read mapping of ports to service names.
SYNOPSIS
use Ubic::PortMap;
Ubic::PortMap::update();
print Ubic::PortMap::port2name(12345); # ubic-ping
METHODS
- update()
-
Update portmap file.
- port2name($port)
-
Get service by port.
If there are several services with one port, it will try to find enabled service among them.
AUTHOR
Vyacheslav Matjukhin <mmcleric@yandex-team.ru>