Subject: | Warning from Devel-StackTrace: Called UNIVERSAL::isa() as a function, not a method |
Hello.
After upgrade from Exception-Class-1.29 to Exception-Class-1.32 I've
started to get a lot of warnings from Devel-StackTrace module in my
tests like:
"Called UNIVERSAL::isa() as a function, not a method at /usr/lib64/
perl5/site_perl/5.8.8/Devel/StackTrace.pm line 123"
I found this (123) line in Devel-StackTrace, here is it:
return 0 if grep { $_[0]{caller}[0]->isa($_) } keys %i_class;
I put debug output on $_[0]{caller}[0] variable and see that this
warnings is printed when 'main' sting stored in this variable.
Actually I don't know if this is the problem in Exception-Class module
or Devel-StackTrace, tell me and I move it to Devel-StackTrace.