I was wondering is there is any way to interact with Perl 5 code automatically, without creating explicit APIs and publishing it over some protocol. I don’t want to limit this question to any specific ways of achieving that – I’m looking for any ideas.
Ruby can be accessed from JVM-based languages via JRuby for example; natively compiled languages are usually accessible via native shared libs / standard calling convention for that platform; others can have the interface autogenerated from code… What are the options for Perl?
As one option, you can embed a Perl interpreter, as shown here or here or here