in reply to Heroku for Perl CGI hosting
It would make more sense to actually ask this question of your hosting provider. https://devcenter.heroku.com/articles/buildpacks.