I'm looking at adding the ability to extend a Perl application via a scripting language. The idea would be to allow definition of logic that should be executed at specific points within a workflow.
I'm hesitant to choose Perl since it is a bit to general-purpose and would end up giving users too much rope to hang themselves with. Inline::Lua and Inline::JavaScript sound good.
I know Lua is becoming a popular choice with game developers for similar applications - that is why I mentioned it.
I would like to expose a handful of variables and functions I define in Perl to the scripting environment.