I've got a bit of code stored in $_, and I want to be able to eval the code
and capture what would be printed to STDOUT and STDERR.
Currently I can only get the return value, which of a print statement is 1
In reply to capturing the output of eval() by tmbg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |