3 ms·
I don't program with globals, so this have never been a problem. I also feel it's outside the scope of a discussion on syntax. Finally, I am trying to fix thi
by jrockway 16y ago
I don't program with globals, so this have never been a problem. I also feel it's outside the scope of a discussion on syntax.
Finally, I am trying to fix this problem with: http://github.com/jrockway/eval-clean http://github.com/jrockway/eval-clean. It basically gives you an object that is a PerlInterpreter object, completely isolated inside. The only issue is keeping the lexical scope between eval calls, and I've almost figured out how to do this. (No, Lexical::Persistence is not even close to an acceptable solution :)