This package provides some functions to control UPnP devices WWW: https://metacpan.org/release/Net-UPnP