Qt::isa Deep recursion problem

Eric Wilhelm <[email protected]> Fri, 2 Oct 2009 21:28:54 -0700
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Hi Chris,

What is this for?  I see you added it in r245.

  push @{ $caller . '::SUPER::ISA' }, $caller;

I just removed that in r403.

On perl 5.8.8, this causes recursion because it's somehow equivalent to 
calling main::SUPER->new.

 perl -e 'use warnings; use strict;
   sub bar::new {warn "hi"}
   @main::SUPER::ISA = qw(main);
   package main; our @ISA = qw(bar);
   sub new {shift->SUPER::new(@_)};
   main->new'

--Eric
-- 
To a database person, every nail looks like a thumb.
--Jamie Zawinski
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------