How do I specify the .filename-suffix for a new template

In Komodo Edit I have created a new template file for perl modules. It works fine, but the default file name for the new file is .pl. How do I change this so that the file name defaults to .pm?

I thought this was changeable in prefs but looks like it’s not.

I tried to figure out a way you could do this in a User Script in the toolbox but I’m not able to figure out a solution and I need to get back to the day job.

You can look for a file called koPerlLanguage.py and manually update the defaultExtension. I believe once you make that change, you’ll need to delete the koPerlLanguage.pyo file before you restart Komodo.