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 ); } } );
In reply to Re^2: Prima + MCE::Hobo demonstration
by marioroy
in thread Prima + MCE::Hobo demonstration
by marioroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |