Hey guys, this is my first post I hope that I dont make any mistakes.... I am working on a Perl REPL and have a problem that I am trying to find a solution for. Before we go please do not reply w/ possible security issues, im working that out now.
So pretty much, I have a shell built with css and jquery that sends an ajax request to a perl script then i want to execute that code in memory.
I've experimented with eval but that doesn't exactly function the way I want because I want to capture fatal and warnings and output them to STDOUT.
That works with writing the code to a file then executing with backticks but I want to avoid doing that.
Any help would be greatly appreciated, thanks!