Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl 5.10 eval($string) memory leak

by betterworld (Curate)
on Aug 15, 2013 at 19:04 UTC ( [id://1049644]=note: print w/replies, xml ) Need Help??


in reply to Perl 5.10 eval($string) memory leak

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.

Replies are listed 'Best First'.
Re^2: Perl 5.10 eval($string) memory leak
by choroba (Cardinal) on Aug 15, 2013 at 19:19 UTC
    Or by manually cleaning the symbol table.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^2: Perl 5.10 eval($string) memory leak
by fuzzmonkey (Sexton) on Aug 16, 2013 at 20:31 UTC

    Hey thanks for telling me about Safe I have not read about that module before. It will come in handy!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049644]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found