Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
XP is just a number
 
PerlMonks  

Re: Win32::GUI::Textfield problems

by heroin_bob (Sexton)
on Jul 20, 2004 at 15:02 UTC ( [id://376056]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 15: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 16:21 UTC
    No, the problem was that I didn't have -height explicitly specified!

    Steve

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://376056]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.