Some time ago I described the steps I used to add Perl as a simple runtime and framework to Cloud Foundry. Since then many changes have taken place in Cloud Foundry and those steps no longer work.
I now have something that works as of 30 August 2012. To see the changes go to my github repository and view the changes to vcap, vcap-staging, stager, and cloud_controller. Note that the recent refactoring of Cloud Foundry means that instead of isolating changes to one repository, we now make changes to four repositories.
Of course, there may be more efficient ways of doing this, but this is what I’ve found to work for me today!