in reply to Re^2: Determining depth of eval nesting
in thread Determining depth of eval nesting

No you won't. overload::eval is only about string eval and you need to be using perl 5.9+ anyway. It overloads the real internal eval function for objects of a particular class. It could be adapted in a 5.6+ compatible way to overload all string eval uses everywhere. To overload the eval block form would require entirely different code and might not even be possible to do cleanly.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re^3: Determining depth of eval nesting