Skip Menu |

This queue is for tickets about the Tk-WidgetDump CPAN distribution.

Report information
The Basics
Id: 80297
Status: new
Priority: 0/
Queue: Tk-WidgetDump

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: warning on no GeomManager
Date: Sat, 20 Oct 2012 10:06:09 +1100
To: bug-Tk-WidgetDump [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With Tk::WidgetDump 1.37, recent debian i386 perl 5.14.2 and perl-tk 804.030, if a widget hasn't yet been packed into a parent yet then WidgetDump prints a warning. Eg geom.pl below perl geom.pl then double-click on "label" line => Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Tk/WidgetDump.pm line 312. I think it's the GeomManager print. Perhaps that bit could watch out for no manager.
#!/usr/bin/perl -w use Tk; use strict; use Tk::WidgetDump; my $mw = MainWindow->new; $mw->Label(-text => 'hello'); $mw->WidgetDump; MainLoop; exit 0;