
Package::pkg is a perl module that provides several utility functions useful for manipulating packages and their subroutines. you can install arbitrary code references as functions in a given namespace, alias functions from one package to another, and set up an exporter.
in many respects, this package provides functionality similar to sub::install (see libsub-install-perl) and sub::exporter (see libsub-exporter-perl).