in reply to Memory issues with AUTOLOAD

Sounds like infinite recursion (though Perl usually complains once it recurses 99 levels deep).

I'd just run under "perl -d" and try "s $obj->noSuchMethodName()" and then you can see what gets called from there. You can also configure the debugger to just 'trace' what is getting called if you'd rather drudge through a lot of text rather than drudge though figuring out how to use the Perl debugger.

BTW, a quick glance at perldebug lead me to try a google search for AutoTrace "PERLDB_OPTS" which turns up some examples of getting an execution trace.

- tye        

  • Comment on Re: Memory issues with AUTOLOAD (debug)