[In Progress] cleanup perl frameworks installation scripts, see #966

Per #966, this PR is an attempt to clean up the Perl frameworks' installation scripts. Please do not merge yet.
will do