in reply to overload and the perl debugger

it's just a guess, and maybe i'm awfully wrong. but what if you declare a package global flag and test against its value?
--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: overlaod and the perl debugger
by Outaspace (Scribe) on Aug 27, 2007 at 14:08 UTC
    I didn't understand exactly when I should set this flag and where, can you be a little more specific. The problem is that I didn't found a way yet to tell if a sub is called recursively from overloaded "".