This article demonstrates how to call PERL from Kotlin using C APIs
PERL is very old platform. But it is still being used in libraries like GIT and firewall and admin software.
If the developer knows how to invoke a PERL function then from a GUI based software the developer can invoke the function.
Below code explains how to do it.