Add fixes and setup to Perl frameworks