add support for perl plugins

Working version, would appreciate the review.
TODO:
* rspec tests
* smoke tests for package and cpan providers (untested)
Align the hash rockets please