Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: why won't Tk textvariable take a reference to an array element?

by serf (Chaplain)
on Jan 24, 2006 at 18:52 UTC ( [id://525284]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @status_label = ( "abc", "def" );
    
  2. or download this
    my $label1 = $frame_top->Label( -textvariable  => \$status_label[0] )
        ->grid( -row => 1, -column => 1 );
    
  3. or download this
    my $label1 = $frame_top->Label( -textvariable => \$status_label[0] )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found