Re: buildable interface testers error



Torsten Schoenfeld wrote:
  package Foo;

  use Glib::Object::Subclass
    'Glib::Object',
    interfaces => [ 'Gtk2::CellLayout' ];

  use Gtk2;

By the way: with the patch applied, this warning is printed:

encountered unregistered interface Gtk2::CellLayout at /[prefix]/Glib/Object/Subclass.pm line 228

Is it possible to make it report the location in the user's code? I tried these two but to no avail:

   $Carp::Internal{$_}++ for __PACKAGE__;

   push @Carp::CARP_NOT, __PACKAGE__;

-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]