Subject: | Feature Request/Bug in Devel::StackTrace |
Date: | Thu, 3 Nov 2011 09:07:03 +0000 |
To: | bug-Devel-StackTrace [...] rt.cpan.org |
From: | Barclay Curtis <barclay.curtis [...] columbustravelmedia.com> |
Hi,
I've recently upgraded my version of Devel::StackTrace from 1.12 to 1.27
and found an issue, however not knowing all that much about the module I
wouldn't like to presume it is a bug or a feature request (possible
neither).
Any way in my system I am using sub classes of objects, as part of this I'm
overriding the isa method (to make sure that sub classes have been
retrieved from the database before determining which package they are in).
Some packages I use are calling Devel::StackTrace when errors occur which
in turn is calling the isa method.
On lines 68 and 120 (of version 1.27) you are calling the isa method simply
on an object, which will call my overridden isa method.
But on line 101 you are calling UNIVERSAL::isa.
Checking back to version 1.12 you seem to be using UNIVERSAL::isa more
often.
Would it possible to change all your isa calls to be UNIVERSAL::isa or
would this break the way your package works?
Devel::Stackrace version: 1.27
Perl version: v5.8.8 built for x86_64-linux-thread-multi
OS: Linux 2.6.18-028stab094.3 #1 SMP Thu Sep 22 12:47:37 MSD 2011 x86_64
x86_64 x86_64 GNU/Linux
Thanks for your help.
Regards
Barclay Curtis