Sun Jun 21 07:05:26 2009: Request 47209 was acted upon.
Transaction: Ticket created by LAMPRECHT
       Queue: Module-ScanDeps
     Subject: Missing dependencies with Tk::Widget -> setPalette() (patch)
   Broken in: 0.90
    Severity: (no value)
       Owner: Nobody
  Requestors: lampre...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=47209 >


Hi,

given code like this:

use warnings;
use strict;
use Tk;

my $mw = MainWindow->new();
$mw -> setPalette('#fcfafa');

MainLoop();

M::SD misses some dependencies in the Tk Library. This is due to Tk's
dynamically loading of some of the core widgets in this case, which
hides their constructor from M::SD.
Patch attached.

Discussed on perlmonks (reported by srikrishnan): 

http://perlmonks.org/?node_id=773263

Cheers, Christoph

Attachment: M-ScanDeps.pm.patch
Description: Binary data

Reply via email to