Help for this page
$mw -> Button( -text => 'Count', -command => sub { ++$count; $mw -> + update; } ) ->pack();