I can't seem to ask this on google and get an answer.
On a terminal I run a while loop showing elements of an array, and ask for user input after each element.
while ( my $contact = pop(@names) ) { print "$contact\n"; print "Is this what you want? (y - n):"; $sel = <STDIN>; last if $sel =~ /y/i; }
How do I do this in a Tk script, using a yes and a no button?
In reply to how do I show 1 record at a time in Tk by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |