There must be problem with Perl highlighter. Your sample doesn't make PSpad freezing. Try to please make any cample what will cause it - add some code with string before and after your sample. Or if you are able (isn't it against your company or your rules) and send me your PL file to support mail for test. I will use it for test purposes only and delete it after problem will be found. I am not Perl programmer, so I can't use your code for anything.
-- <https://forum.pspad.com/read.php?4,77296,77297> PSPad freeware editor https://www.pspad.com
