cpanm is a popular alternative to the CPAN client for installing Perl libraries. Unfortunately it can't uninstall already installed module, so it can't handle states.