Same here, This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 633 provided by ActiveState Corp. http://www.ActiveState.com Built 21:33:05 Jun 17 2002
#!/usr/bin/perl -w use strict; use Tk; my $mw = MainWindow->new( -title=>"Foo!", ); my $f = $mw->Frame( -width=>400, -height=>400, )->pack; $\ = "\n"; print "Tk is $Tk::VERSION; Window id is ", $f->winfo('id'); my $child = $mw->Toplevel( -title => "Bar!", -use => $f->winfo('id'), ); $child->Label( -text=>"Bar!", )->pack; MainLoop(); __END__ Tk is 800.023; Window id is 0x190274 '0x190274' isn't numeric at C:/Perl/site/lib/Tk/Widget.pm line 188. Tk::Widget::new('Tk::Toplevel', 'MainWindow=HASH(0x1ab11dc)', '-ti +tle', 'Bar!', '-use', '0x190274') called at C:/Perl/site/lib/Tk/Widge +t.pm line 247 Tk::Widget::__ANON__('MainWindow=HASH(0x1ab11dc)', '-title', 'Bar! +', '-use', '0x190274') called at foy line 19
I'm about to try it out on Tk 800.24 in the same perl 5.8.0.

Bah, forget it. This is yet another eason I say forget Tk, just use WxPerl.

jsprat: kickass. I've had similar problems when inlining images (--data). I had no idea they had to be base64 encoded. Where is this documented (i know the err kinda gives it away, but i've no idea what the module had expected, and well, looking at the source is something I forgot to do)?

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: '0x1b03b2' Isn't Numeric by PodMaster
in thread '0x1b03b2' Isn't Numeric by Jeffers

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.