in reply to Re: Prima + MCE::Hobo demonstration
in thread Prima + MCE::Hobo demonstration
Hi zentara. That's nice++. Prima is new to me. I tried calling $btn1->text to obtain the string and that works too.
my $timer = Prima::Timer->create( timeout => 100, onTick => sub { my $new_text = $msg->get; if ($new_text ne $btn1->text) { $btn1->set( text => $msg->get ); } } );
|
|---|