How to add perl to nextcloud image

I’m currently using the nextcloud image and have run into a problem where certain nextcloud apps will not run as no perl executable is found by the app. Is there a way to add perl to the nextcloud image? Or could one install a perl image and somehow have the apps within the nextcloud image use it? Apoligies if this is a very basic question. I had a look for a docker-mod, but could not find one for perl.