Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Checkbutton in a loop

by Eliya (Vicar)
on Apr 29, 2012 at 08:37 UTC ( [id://967918]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    for my $i (0...$#a)
    ...
        my $j = shift;
        print $a[$j];
    }
    
  2. or download this
    ...
    for my $i (0...$#a)
    ...
        $f->Checkbutton(-text => $a[$i], -command => sub { fun($i) } )->pa
    +ck();
    }
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found