Manage Perl modules using CPAN
New in version 2015.5.0.
Install a Perl module from CPAN
salt '*' cpan.install Template::Alloy
List installed Perl modules, and the version installed
salt '*' cpan.list
Attempt to remove a Perl module that was installed from CPAN. Because the
cpan command doesn't actually support "uninstall"-like functionality,
this function will attempt to do what it can, with what it has from CPAN.
Until this function is declared stable, USE AT YOUR OWN RISK!
salt '*' cpan.remove Old::Package
Show information about a specific Perl module
salt '*' cpan.show Template::Alloy
Return a dict of CPAN configuration values
salt '*' cpan.show_config