I would like to see Perl built in such a way so that it's easier to link it into other applications. Sure you can embed Perl, and we have things like the
Safe module to restrict operations, but what if I have an application that I want to "extend" with Perl scripting, provide my own functions and the like for the script, and let the user provide the script? I'll certainly drop fork/exec from the list of things they can do, but is there a clean way of doing this at the moment? I guess at the moment I can just create a new interpreter in C, and have it load the Safe module, and generate a few lines of Perl to load my own functions/name spaces into the container, and then just execute the user's code in this container, but is there a better way?