Specify the language with hljs-language directive.
hljs-language
Highlight.js auto-detection.
The same piece of code highlight with perl syntax.
perl