I don't know what kind of random code you are evaluating. Certainly it is possible to write code that occupies memory by means of global variables. You can avoid that using Safe.
Or fork.
In reply to Re: Perl 5.10 eval($string) memory leak
by betterworld
in thread Perl 5.10 eval($string) memory leak
by fuzzmonkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |