Hi everybody, I am facing a little problem with eval in perl. say I do the following: $a = "print \"hi\"" > eval($a) hi> $b = eval($a) hi> print $b 1> The above piece of code, prints the output of eval statement on the STDOUT, and I only get the return status of the EXPR in eval statement. But I have no way to capture this output in some variable. Instead of this behaviour of eval, Can I get what I want .i.e.. Can I capture the output in some variable. Like here I am printing "hi" on stdout. But I want this "hi" to be stored in some variable also. Please help, TIA, -Mini.
