Install perl module only when required
Refact; install perl mod only when needed