You've noticed that when you do an eval, the print is "invisible"; however there is a way to get around that.
What does Devel::Eval do in this case? There's no string eval in the original code; you changed the exception handling code to do something completely different! The real problem is one of lexical scoping.
In reply to Re^2: Doubt in Eval
by chromatic
in thread Doubt in Eval
by rajan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |