Download VSCode (Windows, MacOS, Linux?) then install a Perl addon such as https://marketplace.visualstudio.com/items?itemName=mortenhenriksen.perl-debug or https://marketplace.visualstudio.com/items?itemName=henriiik.vscode-perl. I'm not sure which one is better since I don't code in Perl, but I do use VSCode for several other languages and it's very useful.
That should give you full language support and the ability to compile/run your scripts. Some people swear by text editors like sublime text, but why limit yourself? With a text editor you're not going to be able to run your script (which is kind of the point when you're done) and it won't assist you when you make a mistake.