http://www.perlmonks.org?node_id=92550


in reply to Undumper

Opening a dumped file and evaling the string never even occured to me, but I can see why it's dangerous (with examples on perlmonks). I've been using require, with eval to catch the error. Is this a simpler safe solution?
eval "require '$dumped'";
Update: Thanks tadman for explaining that.

--
Check out my Perlmonks Related Scripts like framechat, reputer, and xNN.