Perl 5.24.1 is supposed to be the current version for TW.
Have you installed the Perl language from the standard TW repo?
Have you recently upgraded your system?
If you have Perl installed and still have a problem so you might suspect the application is the problem, then where did you install the app from? (You can post the results of the following to display all information about your package)