in reply to Win32::GUI::Textfield problems

I'm not very familiar with this module, but I'd guess that the trailing comma after the last param "-height => 600," and "-text => 'Here is some text'," might be to blame. Are you using strict?
~hb

Replies are listed 'Best First'.
Re^2: Win32::GUI::Textfield problems
by CombatSquirrel (Hermit) on Jul 20, 2004 at 19:58 UTC
    No, that's actually just a plain Perl hash declaration. Watch:
    #!perl use strict; use warnings; my %hash = ( one => 1, two => 2, ); print "$_ => $hash{$_}\n" for keys %hash;
    No error.
    It's just "syntactic sugar" to make the declaration more uniform, I believe.
    Hope this helped.
    CombatSquirrel.

    Entropy is the tendency of everything going to hell.
      Gotcha, that's definitely good to know... Thnx for the tip!
      ~hb
Re^2: Win32::GUI::Textfield problems
by cormanaz (Deacon) on Jul 20, 2004 at 20:21 UTC
    No, the problem was that I didn't have -height explicitly specified!

    Steve