Hi
I have a repeat() function in my perl tk code which should by default invoke a routine every 5 secs.
$mw->repeat(5000, \&func() );
How can I change its timer through an Entry box widget. Suppose I have an Entry box widget and whatever value I put in it, the repeat() should call the event with that frequency instead of the default.
my $entry = $frame->Entry(-textvariable=>\$time)->pack;
I have seen this link below , but not quite able to figure out how to do it, please give an example
http://search.cpan.org/dist/Tk/pod/after.pod
Thanks.