…x release of Chef
The rakefile shouldn't delete the metadata task, since the ability to generate JSON metadata from the cookbooks directory is still useful. Lets also ship the metadata in JSON in the cookbooks, so others can make use of it without having to run any Ruby.
Make use of OHAI-75's new feature, languages[:perl] hash that contains version. Use this to determine the Config.pm file for CPAN, since the configuration is different between 5.8.8 and 5.10.0. Also change cpan installation to use /usr/bin/cpan rather than cpan_install script. Script will still get copied for now, in case end users want to use it manually.