regen.pl: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/share/doc/libsyntax-highlight-engine-kate-perl/examples/bin/regen.pl - from package: libsyntax-highlight-engine-kate-perl

You may install the required package with command apt-get install {package}
Error in other languages:
regen.pl: bevel nie gevind nie
regen.pl: comandă negăsită
regen.pl: comando não encontrado
regen.pl: commande introuvable
regen.pl: command not found
regen.pl: käsku ei ole
regen.pl: không tìm thấy lệnh
regen.pl: komanda nerasta
regen.pl: Kommando nicht gefunden.
regen.pl: kommandot finns inte
regen.pl: komut yok
regen.pl: nie znaleziono polecenia
regen.pl: níor aimsíodh an t-ordú
regen.pl: no se encontró la orden
regen.pl: no s'ha trobat l'ordre
regen.pl: opdracht niet gevonden
regen.pl: parancs nem található
regen.pl: perintah tidak ditemukan
regen.pl: príkaz nenájdený
regen.pl: příkaz nenalezen
regen.pl: команда не найдена
regen.pl: командата не е открита
regen.pl: 命令找不到
regen.pl: コマンドが見つかりません