Help for this page
use UI::State; my $state = UI::State->new; ... # Start running from 'menu' $state->run( 'menu' );