|There's more than one way to do things|
Re^2: running string as perl script and pass into STDIN programaticallyby gideondsouza (Monk)
|on Feb 17, 2013 at 08:10 UTC||Need Help??|
So I'll just start from the use case :)
I'm developing a little pet project project here : www.tryperl.com
I'm a linux/perl beginner (touched it for the first time 3 months ago) but I want to really learn it well, so this is my learning project
So : my ($stdout, $err) = eval_perl($program, $args); What would be the simplest way of writing eval_perl with good performance?
I did just have a loong discussion on irc #perl and plan on building better security processes later on, but I don't know enough right now. I run the code in a EC2 vm now so I'm pretty safe. So I just want to stick to the above use case.
I also have a list of things I've tried and my issues here on stackoverflow. No answers yet :( I tried capture::tiny and also App:EvalServer I'm told executes one liners, I want to exec the whole some_script.pl program at once.