perl libraries: use packages on rhel platforms and perl cookbook for cpan modules on other platforms