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


in reply to "eval" variable in non-perl statment?

You might also be interested in the thread: Redirecting STDOUT to a variable via eval?