There is also the Safe module for evaluating untrusted input while limiting possible damage.
In reply to Re^2: unable to eval dumped hash by jcb in thread unable to eval dumped hash by nysus