Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: tk widget options stored in hash

by kcott (Archbishop)
on Nov 13, 2013 at 19:27 UTC ( [id://1062438]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $frame->LabEntry(
        %{$colors{lbl}},
        -other_opt => 'other_value',
        -background => 'non_default_colour'
    );
    
  2. or download this
    $ perl -Mstrict -Mwarnings -e '
        my %colours = ( lbl => { "-background => tan, -foreground => black
    +", } );
    '
    Odd number of elements in anonymous hash at -e line 2.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1062438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found