Make perlmodule take into account (pre){config,build,install}opts
Merge pull request #450 from hajgato/perlmodule_upgrade

Make perlmodule take into account (pre){config,build,install}opts